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

Add support for Swagger/OpenAPI #6

Open
raderio opened this issue Apr 11, 2019 · 3 comments
Open

Add support for Swagger/OpenAPI #6

raderio opened this issue Apr 11, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@raderio
Copy link

raderio commented Apr 11, 2019

https://swagger.io/specification/#schema-object

Swagger/OpenAPI schema contains class/object definition and validation rules.
It will be great if this library will provide this information in order to be able to integrate it for full schema generation from code.

For example Spring or Micronaut can generate endpoints schema and integrate class definitions from this library.

@nlochschmidt
Copy link
Member

Thanks, that is an interesting idea.
I am wondering how to deal with validations that are not supported by Swagger though. They should probably just be ignored, right?

@raderio
Copy link
Author

raderio commented Apr 11, 2019

They should probably just be ignored, right?

Yes.

@dhoepelman
Copy link
Collaborator

See e.g. #27 and #99. While this is a great feature in theory, it's quite a bit of work and likely breaking changes, so not considering this in scope for now.

@dhoepelman dhoepelman closed this as not planned Won't fix, can't repro, duplicate, stale May 10, 2024
@dhoepelman dhoepelman reopened this Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants