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

adds support for OpenAPI 3.1 descriptions #5936

Open
wants to merge 117 commits into
base: main
Choose a base branch
from
Open

adds support for OpenAPI 3.1 descriptions #5936

wants to merge 117 commits into from

Conversation

baywet
Copy link
Member

@baywet baywet commented Dec 23, 2024

fixes #3914

depends on microsoft/OpenAPI.NET#2023

In addition to "supporting the new format" this PR does a couple of things:

  • adds early support for external references.
  • adds support for type arrays (["number", "string"]) and projects them as union types.

Signed-off-by: Vincent Biret <[email protected]>
Signed-off-by: Vincent Biret <[email protected]>
Signed-off-by: Vincent Biret <[email protected]>
Signed-off-by: Vincent Biret <[email protected]>
Signed-off-by: Vincent Biret <[email protected]>
Signed-off-by: Vincent Biret <[email protected]>
Signed-off-by: Vincent Biret <[email protected]>
Signed-off-by: Vincent Biret <[email protected]>
Signed-off-by: Vincent Biret <[email protected]>
Signed-off-by: Vincent Biret <[email protected]>
Signed-off-by: Vincent Biret <[email protected]>
Signed-off-by: Vincent Biret <[email protected]>
fix: missing descriptions

Signed-off-by: Vincent Biret <[email protected]>
@baywet
Copy link
Member Author

baywet commented Feb 14, 2025

most idempotency and integration tests seem to be failing because of this microsoft/OpenAPI.NET#2149

@baywet baywet requested a review from andrueastman February 14, 2025 15:49
@baywet baywet marked this pull request as ready for review February 14, 2025 20:13
@baywet baywet requested a review from a team as a code owner February 14, 2025 20:13
@baywet
Copy link
Member Author

baywet commented Feb 14, 2025

and the unit tests are impacted by this bug microsoft/OpenAPI.NET#2150

Copy link
Member

@andrueastman andrueastman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏼

Copy link

@baywet
Copy link
Member Author

baywet commented Feb 19, 2025

for anybody following along, we'll need to wait for the release of this fix.
microsoft/OpenAPI.NET#2157

microsoft/OpenAPI.NET#2158

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

Add support for handling OpenAPI v3.1 definitions
3 participants