mirror of
https://github.com/LukeHagar/connexion.git
synced 2025-12-10 20:37:50 +00:00
* 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
12 lines
206 B
ReStructuredText
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.
|