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

Implement OpenAPI document validation on MP OpenAPI 4.0 #28860

Open
Tracked by #27311
Azquelt opened this issue Jun 24, 2024 · 1 comment · May be fixed by #29687
Open
Tracked by #27311

Implement OpenAPI document validation on MP OpenAPI 4.0 #28860

Azquelt opened this issue Jun 24, 2024 · 1 comment · May be fixed by #29687

Comments

@Azquelt
Copy link
Member

Azquelt commented Jun 24, 2024

Older mpOpenAPI features produce OpenAPI v3.0 documents and we validate the document after it's created and report warnings for any validation issues.

mpOpenAPI-4.0 can produce OpenAPI v3.1 documents, which have different validation rules. We need to implement and test the new validation rules to be used when generating an OpenAPI v3.1 document.

mpOpenAPI-4.0 can be configured to create OpenAPI v3.0 documents. In this case we'd want to use the old 3.0 validation rules, but the model API is incompatible in places so we may not be able to reuse the existing validation code directly.

@Azquelt Azquelt changed the title Implement validation on MP OpenAPI 4.0 Implement OpenAPI document validation on MP OpenAPI 4.0 Aug 15, 2024
@Azquelt Azquelt self-assigned this Sep 17, 2024
@Azquelt
Copy link
Member Author

Azquelt commented Sep 20, 2024

I've noted some warnings that I haven't covered in the linked PR and raised #29692 to consider adding them.

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.

1 participant