Inconsistent openAPI spec generation for the optional status code in return #7452
Labels
Area/BallerinaToOpenapi
module/openapi-tools
Reason/Regression
The issue has introduced a regression.
Type/Bug
Type/Question
Description
No response
Steps to Reproduce
In the below ballerina code[1], we expected to generate OAS[2] , but we receive OAS[3],
when using Ballerina 2201.8.6 we received code[2] and when using Ballerina 2201.9.0 and 2201.10.3 we received code[3]
[2] Expected code generation
[3] Generated Payload
Please enable these two cases, once we clarify the correct behaviour
Version
2201.8.6 - 2201.10.3
Environment Details (with versions)
No response
The text was updated successfully, but these errors were encountered: