ApacheCon EU 2016 has ended
ApacheCon Europe 2016
Click here to Register or for more information 
Back To Schedule
Friday, November 18 • 16:30 - 17:20
How to Generate a Deployable REST CXF3 Application from a Swagger-Contract - Johannes Fiala

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

This talk will show how you can use Swagger-Codegen to generate a complete REST application using Apache CXF3 based on a Swagger contract and deploy it to application servers.

Features in the generated server stub include:

* Bean-Validation

* Logging

* Automatic operation validation using @Valid

* Using transparent gzipping of requests

First I'll demo how to generate the applications & how they work in the container (Tomcat + Jboss EAP), showing how the features work there.

The talk will continue how this is done using Mustache-templates in Swagger-Codegen and how additional features can be added to the generator (e.g. adding forced Gzip-support, enhancing test cases, add additional configuration files, etc.).

Additionally the Swagger toolchain will be shown during the talk (Swagger UI, Swagger Editor, Swagger2Markup to generate PDFs).

avatar for Johannes Fiala

Johannes Fiala

Swagger Codegen contributor since 2015 (created the Javascript language and enhanced CXF3 server/client generator, added Java BeanValidation support to various languages)

Friday November 18, 2016 16:30 - 17:20 CET
Nervion/Arenal II/III

Attendees (5)