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

[Bug]: 7.2.0, json doc says "openapi": "3.0.4", but this doesn't seem supported by UI #3216

Closed
worthy7 opened this issue Jan 9, 2025 · 4 comments
Labels
bug external An issue in an external dependency upstream-swagger-ui

Comments

@worthy7
Copy link

worthy7 commented Jan 9, 2025

Describe the bug

I upgraded all Swashbuckle.AspNetCore (3 packages) to 7.2.0 on .NET 9, and when rendering, the UI complains that the version is not set. If I copy and paste my json into Validator I can see that it does not like the version 3.0.4.

Expected behavior

3.0.4 is supported

Actual behavior

Not supported

Steps to reproduce

No response

Exception(s) (if any)

No response

Swashbuckle.AspNetCore version

7.2.0

.NET Version

9

Anything else?

No response

@worthy7 worthy7 added the bug label Jan 9, 2025
@JuliusTrafi
Copy link

JuliusTrafi commented Jan 9, 2025

Seems like issue occurs with Microsoft.OpenApi 1.6.23 and works with Microsoft.OpenApi 1.6.22

@worthy7
Copy link
Author

worthy7 commented Jan 9, 2025

Yes I just confirmed this. So this is not a bug, but a feature request for this project. Please support OpenApi 3.0.4

@martincostello martincostello added upstream-swagger-ui external An issue in an external dependency labels Jan 9, 2025
@martincostello
Copy link
Collaborator

@martincostello martincostello closed this as not planned Won't fix, can't repro, duplicate, stale Jan 9, 2025
@martincostello
Copy link
Collaborator

martincostello commented Jan 9, 2025

Until the upstream issues are resolved, downgrade your version(s) of the Microsoft.OpenApi* package(s) to version 1.6.22.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug external An issue in an external dependency upstream-swagger-ui
Projects
None yet
Development

No branches or pull requests

3 participants