REST API Server Programming with Perl, Swagger and the Mojolicious Framework

James Briggs,
Sr. Software Developer/DBA/Devops

james.briggs@yahoo.com

http://jbriggs.com/blog/

James Briggs

Agenda

Perl REST API Client Programming Review

Swagger (OpenAPI) Schema Deep-Dive

Swagger 2.0 Petstore Enhanced Sample Spec

Swagger 2.0 Petstore Enhanced Sample Spec

Swagger 2.0 Petstore Enhanced Sample Spec

Swagger 2.0 Petstore Enhanced Sample Spec

Swagger 2.0 Petstore Enhanced Sample Spec

Swagger 2.0 Petstore Enhanced Sample Spec

Swagger 2.0 Petstore Enhanced Sample Spec

Perl REST API Server Programming

Mojolicious

Mojolicious Hello, World!

Mojolicious Sessions

Petstore Enhanced - Putting it All Together

Petstore Enhanced - View Setup

Petstore Enhanced - View startup

Petstore Enhanced - Content-negotiation Override

Petstore Enhanced - View Auth

Petstore Enhanced - Controller Module

Programming Tips

Part 2: Questions?