PhoenixSwagger.Plug.Validate (phoenix_swagger v0.8.4)
View SourceA plug to automatically validate all requests in a given scope.
Please make sure to:
- load Swagger specs at appliction start with
PhoenixSwagger.Validator.parse_swagger_schema/1
- set
conn.private.phoenix_swagger.valid
totrue
to skip validation