How To Set Phoenix Swagger Validation On Production Environment — Tentamen Software Testing Blog


Swagger allows you to describe the structure of your JSON APIs so that machines can read them. Phoenix Swagger is an Elixir library that helps you to integrate Swagger into your Phoenix project. Swagger Validation enables you to reject invalid JSON requests out of the box. Setting up Phoenix Swagger validation on the production environment was not documented, so we decided to record it in this blog post.

Phoenix Swagger Validation

Configuration of Phoenix Swagger is for Phoenix >= 1.5

Founder of Tentamen, software testing agency.