This event has ended. View the official site or create your own event → Check it out
This event has ended. Create your own
ApacheCon Europe 2016
Click here to Register or for more information 
View analytic
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 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).


Johannes Fiala

Swagger Codegen contributor (Javascript language + CXF3 server generator) | Related talks: Devoxx 11/2015: Tools-in-Action: Generate client stubs & document your REST-API using Swagger & Spring | DotJS 12/2015: How to end manual REST API client coding (for Javascript developers)

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

Attendees (5)