Skip to content
New issue

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

Allow OpenAPI document version to be set with server.xml for MP OpenAPI 4.0 #28859

Open
Tracked by #27311
Azquelt opened this issue Jun 24, 2024 · 0 comments · May be fixed by #29877
Open
Tracked by #27311

Allow OpenAPI document version to be set with server.xml for MP OpenAPI 4.0 #28859

Azquelt opened this issue Jun 24, 2024 · 0 comments · May be fixed by #29877

Comments

@Azquelt
Copy link
Member

Azquelt commented Jun 24, 2024

New server.xml attribute

mpOpenAPI-4.0 can generate either OpenAPI v3.1 (default) or v3.0 documents.

<mpOpenAPI openAPIVersion="3.0" />

This attribute only has meaning for mpOpenAPI-4.0, older versions only support 3.0.

An error should be reported if an invalid value is used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

2 participants