Skip to content
This repository has been archived by the owner on Jan 28, 2023. It is now read-only.

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

Notifications You must be signed in to change notification settings

old-adapdr/masonite-swagger-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

Stars

Watchers

Forks