Skip to content

Commit 1a48fc7

Browse files
fix: correct line highlight numbers in OpenAPI servers example (#5302)
Co-authored-by: fern-api[bot] <115122769+fern-api[bot]@users.noreply.github.com>
1 parent ccb1c13 commit 1a48fc7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

fern/products/api-def/openapi/servers.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Specifying servers is valuable for both SDKs and Docs:
2323
If you have more than one server, we recommend specifying an `x-fern-server-name` to name
2424
the server.
2525

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

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

69-
```yml generators.yml {7-12}
69+
```yml generators.yml {8-13}
7070
api:
7171
default-environment: Production
7272
default-url: api

0 commit comments

Comments
 (0)