Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions fern/products/api-def/openapi/servers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Specifying servers is valuable for both SDKs and Docs:
If you have more than one server, we recommend specifying an `x-fern-server-name` to name
the server.

```yml openapi.yml {3,5}
```yml openapi.yml {2,4}
servers:
- x-fern-server-name: Production
url: https://api.yourcompany.com/
Expand All @@ -40,7 +40,7 @@ of your endpoints might be hosted at `api.yourcompany.com`.
To specify this, you will need to add configuration to both your `generators.yml` and OpenAPI spec. The
snippet directly below shows how to configure an environment with multiple urls in your `generators.yml`.

```yml generators.yml {3-8}
```yml generators.yml {6-7}
api:
default-environment: Production
default-url: api
Expand All @@ -66,7 +66,7 @@ paths:
If you have multiple environments like development or staging, you can model those in your `generators.yml`
as well.

```yml generators.yml {7-12}
```yml generators.yml {8-13}
api:
default-environment: Production
default-url: api
Expand Down
Loading