OpenApiSpex - OpenAPI / Swagger 3.0 for Plug APIs

In the example the api data is returned by show_operation which is just a function, so you can pull the %Operation{} data from anywhere.

1 Like