镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Accept the commonly used x-body-name property in the operation schema to override this name. - #2012

Open
gersongoulart wants to merge 2 commits into
ferdikoomen:mainfrom
provantagex:x-body-name
Open

gersongoulart wants to merge 2 commits into
ferdikoomen:mainfrom
provantagex:x-body-name

Conversation

@gersongoulart

Copy link
Copy Markdown

In the OpenAPI v3 spec, the requestBody does not have a name. By default, 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. #2011

…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
@gersongoulart gersongoulart changed the title Accept the commonly used x-body-name property in the operation schema to override this name. #2011 Accept the commonly used x-body-name property in the operation schema to override this name. Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant