PhoenixSwagger.Plug.SwaggerUI.init

You're seeing just the function init, go back to PhoenixSwagger.Plug.SwaggerUI module for more information.

Plug.init callback

Options:

  • otp_app (required) The name of the app has is hosting the swagger file
  • swagger_file (required) The name of the file, eg "swagger.json"
  • config_object (optional) These values are injected into the config object passed to SwaggerUI.
  • config_url (optional) Populates the configUrl Swagger UI parameter. A URL to fetch an external configuration document from.