![]() if we want to gather some endpoints, we should organize them in classes or traits, so that we could annotate the class,.Descriptions for models and directives are defined using annotations, which will be processed in runtime to generate either JSON or YAML document. ![]() The only solution supported by the Swagger team is Java implementation aimed towards JEE stack, as some of the annotations it uses are exactly the ones used to generate routing in JEE.Įxactly! Annotations. As such, we are forced to use some more manual approach. Considering the complexity of the routing DSL it would be hard if not impossible to achieve it, though some cases could be handled with e.g. Annotations everywhereįirst of all, how it works. I have an issue with the latter when it comes to Akka HTTP. As far as I can tell, Swagger has 2 main use cases: it’s a specification you can use to scaffold your client/server or a live documentation generated from an existing implementation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |