SMILEY4 / schema-kenerator

Analyze kotlin types, extract information and generate schemas
Apache License 2.0
9 stars 5 forks source link

Process Javax/Jakarta validation annotations. #21

Closed Skater901 closed 1 month ago

Skater901 commented 1 month ago

When using the Swagger Jaxrs2 library, Javax/Jakarta validation annotations are processed to build up the documentation. For example, if I have an Integer property with a @field:Min(1) annotation on it, that annotation will be used to generate the documentation for that object, specifying that the minimum allowed value for that property is 1. I would like this library to be able to do the same thing. :)

Skater901 commented 1 month ago

I've got the code for this pretty much done. I'll open a PR soon for it.