Files
connexion/examples/openapi3/methodresolver/README.rst
Simon 92867452a2 Added MethodViewResolver (#847)
* Added MethodViewResolver

By subclassing RestyResolver and modifying its `resolve_function_from_operation_id` method, it is now possible to use automatic routing functionality with Flask's MethodView together with MethodViewResolver.

* Add MethodView example

* Add tests for methodview

* add documentation on how to use MethodViewResolver
2019-02-04 08:25:27 +01:00

12 lines
206 B
ReStructuredText

=====================
MethodViewResolver Example
=====================
Running:
.. code-block:: bash
$ ./app.py
Now open your browser and go to http://localhost:9090/v1.0/ui/ to see the Swagger UI.