konform icon indicating copy to clipboard operation
konform copied to clipboard

Add support for Swagger/OpenAPI

Open raderio opened this issue 5 years ago • 2 comments

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.

raderio avatar Apr 11 '19 09:04 raderio

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?

nlochschmidt avatar Apr 11 '19 16:04 nlochschmidt

They should probably just be ignored, right?

Yes.

raderio avatar Apr 11 '19 19:04 raderio