fix: ensure sentinel values are handled correctly in defaultValue mer…#5078
fix: ensure sentinel values are handled correctly in defaultValue mer…#5078daniel-kmiecik merged 2 commits intomasterfrom
Conversation
|
Hi I still have a problem with 2.2.45. (2.2.43 works fine) The generated openapi-spec is: And the generated code will be: If I add a default value the problem disappears: |
|
@JanneAndersson please see following bugs. They seem to describe your issue |
|
@JanneAndersson this test works well for OAS 3.0 and 3.1: If the problem still occurs, please create a new ticket and provide a complete example. Call me in a new issue. |
Pull Request
Thank you for contributing to swagger-core!
Please fill out the following information to help us review your PR efficiently.
Description
Fixes: #5076
Type of Change
Checklist
Screenshots / Additional Context