# yaml-language-server: $schema=https://raw.githubusercontent.com/fern-api/fern/main/fern.schema.json

service:
  auth: false
  base-path: ""
  endpoints:
    getWithApiKey:
      auth: true
      docs: GET request with custom api key
      path: /apiKey
      method: GET
      response: string

    getWithHeader:
      docs: GET request with custom api key
      path: /apiKeyInHeader
      method: GET
      request:
        name: HeaderAuthRequest
        headers:
          X-Endpoint-Header:
            docs: "Specifies the endpoint key."
            type: string
            env: MY_HEADER_ENV
      response: string
