Open Koubek opened 2 months ago
@Koubek https://github.com/fern-api/fern/pull/4734 PR in flight
@Koubek we've merged a PR that releases 0.0.32
of the OpenAPI generator. The new version will be published in 30 minutes, can you confirm that this is fixed for you?
Hi, great @dsinghvi. We have detected that it contains the global path parameters but the examples (the values) are still not referenced. Compared with the Postman generator, the Postman generator contains examples.
Describe the Bug
When using global
path-parameters
in theapi.yml
file, the Fern OpenAPI Generator does not respect these global parameters. As a result, the generated OpenAPI specification does not include the globalpath-parameters
. This issue leads to missing parameters in the final URL when importing the specification into tools such as Postman.Information to Reproduce
CLI Version
0.41.13
Generator Version
fernapi/fern-openapi version
0.0.31
Fern Definition
The minimal fern definition required to reproduce the bug.
Actual OpenAPI
The buggy OpenAPI document that is produced:
Additional Context
I commented with @dsinghvi via Slack yesterday, he confirmed there was a bug.