Hospedagem Profissional

Hospedagem Profissional
Clique aqui e ganhe US$ 10,00 para testar durante 1 mês a melhor hospedagem: Digital Ocean!

domingo, 29 de novembro de 2015

Apache Camel 2.16 - Swagger Java and API documentation out of the box

Este vídeo mostra a utilização do Apache Camel, com CDI e Swagger para geração de documentação automática para serviços rest.

In the upcoming Apache Camel 2.16 release we recently added a pure Java based Swagger module, camel-swagger-java.

This module is replacing the older camel-swagger module that was Scala based. The new module is also using the new swagger 2.0 spec. And least but not least the module integrates out of the box, so end users just need to turn it on, by declaring the context-path to use for servicing the Swagger API documentation. Then Camel is able to auto detect camel-swagger-java on the classpath and tie into the swagger model read and generate the API as swagger 2.0 in json format. All this can be run in any kind of JVM. You do not need to use a servlet container (but you can).




Fonte: http://www.davsclaus.com/2015/09/apache-camel-216-swagger-java-and-api.html