├── .github └── workflows │ ├── build.yml │ └── release.yml ├── .gitignore ├── .isort.cfg ├── .markdownlint.yml ├── .pre-commit-config.yaml ├── .readthedocs.yaml ├── .yamllint ├── README.md ├── docs ├── Makefile ├── make.bat └── source │ ├── api_configuration.rst │ ├── conf.py │ ├── endpoints.rst │ ├── endpoints_documentation.rst │ ├── getting_started.rst │ ├── index.rst │ ├── parse_input.rst │ ├── router.rst │ └── swagger.png ├── flask_ninja ├── __init__.py ├── api.py ├── constants.py ├── model_field.py ├── models.py ├── operation.py ├── param.py ├── param_functions.py ├── parse_rule.py ├── router.py ├── security.py ├── swagger-ui-5.9.1 │ ├── README.md │ ├── favicon-16x16.png │ ├── favicon-32x32.png │ ├── index.j2 │ ├── swagger-ui-bundle.js │ ├── swagger-ui-standalone-preset.js │ └── swagger-ui.css ├── swagger_ui.py └── utils.py ├── pyproject.toml ├── tests ├── __init__.py ├── conftest.py └── unit │ ├── snapshots │ └── test_api │ │ └── test_get_schema │ │ └── api_schema │ ├── test_api.py │ ├── test_operation.py │ ├── test_router.py │ ├── test_sample.py │ ├── test_security.py │ └── test_utils.py └── tox.ini /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/.gitignore -------------------------------------------------------------------------------- /.isort.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/.isort.cfg -------------------------------------------------------------------------------- /.markdownlint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/.markdownlint.yml -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.readthedocs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/.readthedocs.yaml -------------------------------------------------------------------------------- /.yamllint: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/.yamllint -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/README.md -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/docs/make.bat -------------------------------------------------------------------------------- /docs/source/api_configuration.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/docs/source/api_configuration.rst -------------------------------------------------------------------------------- /docs/source/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/docs/source/conf.py -------------------------------------------------------------------------------- /docs/source/endpoints.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/docs/source/endpoints.rst -------------------------------------------------------------------------------- /docs/source/endpoints_documentation.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/docs/source/endpoints_documentation.rst -------------------------------------------------------------------------------- /docs/source/getting_started.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/docs/source/getting_started.rst -------------------------------------------------------------------------------- /docs/source/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/docs/source/index.rst -------------------------------------------------------------------------------- /docs/source/parse_input.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/docs/source/parse_input.rst -------------------------------------------------------------------------------- /docs/source/router.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/docs/source/router.rst -------------------------------------------------------------------------------- /docs/source/swagger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/docs/source/swagger.png -------------------------------------------------------------------------------- /flask_ninja/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/flask_ninja/__init__.py -------------------------------------------------------------------------------- /flask_ninja/api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/flask_ninja/api.py -------------------------------------------------------------------------------- /flask_ninja/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/flask_ninja/constants.py -------------------------------------------------------------------------------- /flask_ninja/model_field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/flask_ninja/model_field.py -------------------------------------------------------------------------------- /flask_ninja/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/flask_ninja/models.py -------------------------------------------------------------------------------- /flask_ninja/operation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/flask_ninja/operation.py -------------------------------------------------------------------------------- /flask_ninja/param.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/flask_ninja/param.py -------------------------------------------------------------------------------- /flask_ninja/param_functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/flask_ninja/param_functions.py -------------------------------------------------------------------------------- /flask_ninja/parse_rule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/flask_ninja/parse_rule.py -------------------------------------------------------------------------------- /flask_ninja/router.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/flask_ninja/router.py -------------------------------------------------------------------------------- /flask_ninja/security.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/flask_ninja/security.py -------------------------------------------------------------------------------- /flask_ninja/swagger-ui-5.9.1/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/flask_ninja/swagger-ui-5.9.1/README.md -------------------------------------------------------------------------------- /flask_ninja/swagger-ui-5.9.1/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/flask_ninja/swagger-ui-5.9.1/favicon-16x16.png -------------------------------------------------------------------------------- /flask_ninja/swagger-ui-5.9.1/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/flask_ninja/swagger-ui-5.9.1/favicon-32x32.png -------------------------------------------------------------------------------- /flask_ninja/swagger-ui-5.9.1/index.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/flask_ninja/swagger-ui-5.9.1/index.j2 -------------------------------------------------------------------------------- /flask_ninja/swagger-ui-5.9.1/swagger-ui-bundle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/flask_ninja/swagger-ui-5.9.1/swagger-ui-bundle.js -------------------------------------------------------------------------------- /flask_ninja/swagger-ui-5.9.1/swagger-ui-standalone-preset.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/flask_ninja/swagger-ui-5.9.1/swagger-ui-standalone-preset.js -------------------------------------------------------------------------------- /flask_ninja/swagger-ui-5.9.1/swagger-ui.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/flask_ninja/swagger-ui-5.9.1/swagger-ui.css -------------------------------------------------------------------------------- /flask_ninja/swagger_ui.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/flask_ninja/swagger_ui.py -------------------------------------------------------------------------------- /flask_ninja/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/flask_ninja/utils.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/pyproject.toml -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/unit/snapshots/test_api/test_get_schema/api_schema: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/tests/unit/snapshots/test_api/test_get_schema/api_schema -------------------------------------------------------------------------------- /tests/unit/test_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/tests/unit/test_api.py -------------------------------------------------------------------------------- /tests/unit/test_operation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/tests/unit/test_operation.py -------------------------------------------------------------------------------- /tests/unit/test_router.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/tests/unit/test_router.py -------------------------------------------------------------------------------- /tests/unit/test_sample.py: -------------------------------------------------------------------------------- 1 | def test_sample(): 2 | assert True 3 | -------------------------------------------------------------------------------- /tests/unit/test_security.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/tests/unit/test_security.py -------------------------------------------------------------------------------- /tests/unit/test_utils.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiwicom/flask-ninja/HEAD/tox.ini --------------------------------------------------------------------------------