egoodhall / openapi-tooling

Java tooling for OpenAPI
MIT License
2 stars 0 forks source link

How to use? #12

Open macabrus opened 1 year ago

macabrus commented 1 year ago

Hello,

I am using Immutables with Javalin in my project so I am trying to use your library to generate OpenAPI schema for my models but I don't know how to use your library. Could you show an example for usage in maven annotation processor?

egoodhall commented 1 year ago

Hey @macabrus - I'm not familiar with Javalin, but it looks like https://github.com/javalin/javalin-openapi may be better suited for your needs. This library processes annotations like @POST and @Path("/...") on Controller/Resource classes and methods to generate OpenAPI documents - I'm not sure how it could be adapted to handle the Javalin style of generation