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

🤗 [Question]: Swagger - Support for openapi v3? #709

Open
3 tasks done
tamis-laan opened this issue Aug 3, 2023 · 0 comments
Open
3 tasks done

🤗 [Question]: Swagger - Support for openapi v3? #709

tamis-laan opened this issue Aug 3, 2023 · 0 comments
Labels
🤔 Question Further information is requested

Comments

@tamis-laan
Copy link

tamis-laan commented Aug 3, 2023

Question Description

Is there support for the openapi standard v3? When I try to load a openapi v3 spec it fails

screenshot

I can see that the latest version of swagger-ui is being used as the bundle link is https://unpkg.com/swagger-ui-dist@5.3.1/swagger-ui-bundle.js which shows version 5.3.1 of swagger-ui. So I would expect openapi v3 to work. Maybe this problem is related to the default file name of swagger.json?

Code Snippet (optional)

openapi: 3.0.0
info:
  version: 1.0.0
  title: Simple API Example
  description: A basic API example for testing Swagger UI

paths:
  /greet:
    get:
      summary: Get a friendly greeting
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              example:
                message: Hello, Swagger UI!

Checklist:

  • I agree to follow Fiber's Code of Conduct.
  • I have checked for existing issues that describe my questions prior to opening this one.
  • I understand that improperly formatted questions may be closed without explanation.
@tamis-laan tamis-laan added the 🤔 Question Further information is requested label Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤔 Question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant