open_api_spex v3.2.0 OpenApiSpex.Plug.PutApiSpec View Source

Module plug that calls a given module to obtain the Api Spec and store it as private in the Conn.

This allows downstream plugs to use the API spec for casting, validating and rendering.

Example

plug OpenApiSpex.Plug.PutApiSpec, module: MyAppWeb.ApiSpec

Link to this section Summary

Link to this section Functions