File tree Expand file tree Collapse file tree
fern/products/api-def/openapi Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ Specifying servers is valuable for both SDKs and Docs:
2323If you have more than one server, we recommend specifying an ` x-fern-server-name` to name
2424the server.
2525
26- ` ` ` yml openapi.yml {3,5 }
26+ ` ` ` yml openapi.yml {2,4 }
2727servers:
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`.
4040To specify this, you will need to add configuration to both your `generators.yml` and OpenAPI spec. The
4141snippet 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 }
4444api:
4545 default-environment: Production
4646 default-url: api
6666If you have multiple environments like development or staging, you can model those in your `generators.yml`
6767as well.
6868
69- ` ` ` yml generators.yml {7-12 }
69+ ` ` ` yml generators.yml {8-13 }
7070api:
7171 default-environment: Production
7272 default-url: api
You can’t perform that action at this time.
0 commit comments