Hi Alexander, Yes, swagger allows to annotate classes and then the spec will be generated. But here is a question. What classes should we annotade?
Web framework brings the convention about how to write an endpoint and what to annotate. Our own REST server implementation does not. It is just the number of handlers. > On 25 May 2022, at 17:46, Alexander Polovtcev <alexpolovt...@gmail.com> wrote: > > Aleksandr, > > Can we use these annotations without the micronaut dependencies? If yes, > why do we need micronaut at all? > > On Mon, May 23, 2022 at 5:34 PM Aleksandr Pakhomov <apk...@gmail.com> wrote: > >> Yes, swagger-core has its own set of annotations [1] >> >> [1] >> https://github.com/swagger-api/swagger-core/wiki/Swagger-2.X---Annotations#quick-annotation-overview >> >>> On 23 May 2022, at 12:37, Alexander Polovtcev <alexpolovt...@gmail.com> >> wrote: >>> >>> I'm not that scared of having a big library, I just believe that it might >>> be possible to avoid using it altogether. Don't swagger generators have >>> their own annotations? >> >> >