We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
有多个 in body 的 #parameters 时 ,将所生成的 app/public/swagger/*.json 返回给前端用于 @rtk-query/codegen-openapi ,会报错 has multiple requestBodies
in body
#parameters
app/public/swagger/*.json
@rtk-query/codegen-openapi
has multiple requestBodies
按照OpenAPI 2.0示例,in body的 parameters 只有1个,用 properties 表示其中不同的参数。 但 swagger-egg 会生成多个 in body的 parameters
The text was updated successfully, but these errors were encountered:
问题表现 有多个 in body 的 #parameters 时 ,将所生成的 app/public/swagger/*.json 返回给前端用于 @rtk-query/codegen-openapi ,会报错 has multiple requestBodies 根本原因 按照OpenAPI 2.0示例,in body的 parameters 只有1个,用 properties 表示其中不同的参数。 但 swagger-egg 会生成多个 in body的 parameters
多个in body时没进行校验,这个我后面加一下吧。
Sorry, something went wrong.
No branches or pull requests
问题表现
有多个
in body
的#parameters
时 ,将所生成的app/public/swagger/*.json
返回给前端用于@rtk-query/codegen-openapi
,会报错has multiple requestBodies
根本原因
按照OpenAPI 2.0示例,in body的 parameters 只有1个,用 properties 表示其中不同的参数。
但 swagger-egg 会生成多个 in body的 parameters
The text was updated successfully, but these errors were encountered: