Skip to content
Sections
>> Trisquel >> Packages >> nabia >> python >> python3-flasgger
nabia  ] [  aramo  ]
[ Source: python-flasgger  ]

Package: python3-flasgger (0.9.4+dfsg-1)

Extract swagger specs from your flask project

Flasgger is a Flask extension to extract OpenAPI-Specification from all Flask views registered in your API. It also comes with SwaggerUI embedded so you can access http://localhost:5000/apidocs and visualize and interact with your API resources. It also provides validation of the incoming data, using the same specification it can validates if the data received as a POST, PUT, PATCH is valid against the schema defined using YAML, Python dictionaries or Marshmallow Schemas. Flasgger can work with simple function views or MethodViews using docstring as specification, or using @swag_from decorator to get specification from YAML or dict and also provides SwaggerView which can use Marshmallow Schemas as specification.

Other Packages Related to python3-flasgger

  • depends
  • recommends
  • suggests
  • dep: libjs-jquery
    JavaScript library for dynamic web applications
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-flask (>= 0.10)
    micro web framework based on Werkzeug and Jinja2 - Python 3.x
  • dep: python3-jsonschema
    An(other) implementation of JSON Schema (Draft 3 and 4) - Python 3.x
  • dep: python3-mistune
    Markdown parser for Python 3
  • dep: python3-six (>= 1.10.0)
    Python 2 and 3 compatibility library (Python 3 interface)
  • dep: python3-yaml
    YAML parser and emitter for Python3

Download python3-flasgger

Download for all available architectures
Architecture Package Size Installed Size Files
all 1,315.1 kB9276 kB [list of files]