old-adapdr / masonite-swagger-ui

Third-party package for Masonite that provides necessary scaffolding for the Swagger UI / OpenAPI UI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Masonite Swagger UI

The intention of this package is provide an easy method to adding SwaggerUI / OpenAPIUI to masonite.

Installation

  1. pip3 install masonite-swagger-ui
  2. Add the package to the providers list:
    from swagger_ui.providers import SwaggerUIProvider
    
    # ...
    
    PROVIDERS = [
    # ...
      SwaggerUIProvider
    ]
  3. Run the install command: craft swaggerui:install this will copy over all the required scaffolding you need!

Thats it! You can now do craft serve and navigate to /docs to try it out in action!

About

Third-party package for Masonite that provides necessary scaffolding for the Swagger UI / OpenAPI UI


Languages

Language:Python 52.6%Language:HTML 44.0%Language:Makefile 3.5%