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
…fault, it will be passed into the generated function as `requestBody`. Accept the commonly used `x-body-name` property in the operation schema to override this name. ferdikoomen#2011
Hey @gersongoulart, I see you have other commits in your fork in addition to this feature, but just wanted to let you know I've also added this feature to our fork. It has some other features too, mostly around OpenAPI 3.1 compatibility
In the OpenAPI v3 spec, the
requestBody
does not have a name. By default, it will be passed into the generated function asrequestBody
.It would be nice to accept the commonly used
x-body-name
property in the operation schema to override this name.Example:
The text was updated successfully, but these errors were encountered: