konform
konform copied to clipboard
Add support for Swagger/OpenAPI
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.
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?
They should probably just be ignored, right?
Yes.