Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Flask MethodView to apispec.ext.flask #134

Closed
wants to merge 2 commits into from
Closed

Add support for Flask MethodView to apispec.ext.flask #134

wants to merge 2 commits into from

Commits on Jul 11, 2017

  1. Add support for Flask MethodView to apispec.ext.flask

    Addresses issues #85 and #125.
    djanderson committed Jul 11, 2017
    Copy the full SHA
    6592c8d View commit details
    Browse the repository at this point in the history
  2. Add x-extension support to method_view path helper

    The `apispec.utils.load_yaml_from_docstring` function as used by the
    `apispec.ext.flask.path_from_view` helper supports both HTTP methods ('get',
    'post', etc) as well as "x-^" extensions. This commit allows the
    `apispec.ext.flask.path_from_method_view` helper to extract "x-^" extensions
    YAML from the class docstring and method YAML from the individual methods'
    docstrings. It also demostrates the different in the `apispec.ext.flask` module
    docstring so that the usage is clear in the API docs.
    djanderson committed Jul 11, 2017
    Copy the full SHA
    64e7a3d View commit details
    Browse the repository at this point in the history