You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If example names match in the request and response (a convention leveraged by Microcks to help match response examples to request examples) then fern generate produces errors as it seems to want all examples to have unique names.
[api]: Found 2 errors and 0 warnings. Run fern check --warnings to print out the warnings.
[api]: payments.yml -> service -> endpoints -> create-booking-payment
Duplicate example name: Card Payment
[api]: payments.yml -> service -> endpoints -> create-booking-payment
Duplicate example name: Bank Account Payment
philsturgeon
changed the title
[Bug] Duplicate examples if names match in request/response
[Bug] Duplicate examples if summary match in request/response
Aug 15, 2024
Describe the bug
If example names match in the request and response (a convention leveraged by Microcks to help match response examples to request examples) then
fern generate
produces errors as it seems to want all examples to have unique names.Example OpenAPI.
To reproduce
Steps to reproduce the behavior:
fern generate
Expected behavior
I expect the train travel api to generate openapi without errors.
CLI Version
0.39.4
The text was updated successfully, but these errors were encountered: