Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug: Unable to use {service-name} interpolation for filenames with openapi3-emitter when only one service is defined #6182

Merged
merged 12 commits into from
Mar 3, 2025
Prev Previous commit
regen docs for website
  • Loading branch information
albertxavier100 committed Feb 28, 2025
commit 5d10e93413b96ed0f3ce62e3adc8e23a4b80b447
4 changes: 2 additions & 2 deletions packages/openapi3/README.md
Original file line number Diff line number Diff line change
@@ -48,11 +48,11 @@ If the content should be serialized as YAML or JSON. Default 'yaml', it not spec
Name of the output file.
Output file will interpolate the following values:

- service-name: Name of the service if multiple
- service-name: Name of the service
- service-name-if-multiple: Name of the service if multiple
- version: Version of the service if multiple

Default: `{service-name}.{version}.openapi.yaml` or `.json` if `file-type` is `"json"`
Default: `{service-name-if-multiple}.{version}.openapi.yaml` or `.json` if `file-type` is `"json"`

Example Single service no versioning

Loading