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
The expectation is to require a non-null request body but only name to be mandatory. The age property should become optional. However, when code is generated it produces:
Given the below OAS 3 spec
The expectation is to require a non-null request body but only
name
to be mandatory. Theage
property should become optional. However, when code is generated it produces:Observe that
age
parameter in the generated method signature hasrequired=true
when it's clearly not required in the spec.The text was updated successfully, but these errors were encountered: