{"repo":"luolingchun/flask-openapi","free":true,"listed":false,"github":"https://github.com/luolingchun/flask-openapi","clone":"git clone https://github.com/luolingchun/flask-openapi.git","description":"A simple API framework based on Flask.","language":"Python","stars":268,"topics":["flask","swagger","redoc","openapi3","python3","pydantic","openapi","rest","rapidoc","python"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"A simple API framework based on Flask. Flask OpenAPI is a simple web API framework based on Flask . It uses Pydantic to verify data and automatic generation of interaction documentation. The key features are: - Easy to code: Easy to use and easy to learn - Standard document specification: Based on OpenAPI Specification - Interactive OpenAPI documentation: Swagger, Redoc, RapiDoc, RapiPdf, Scalar, Elements - Data validation: Fast data verification based on Pydantic Requirements Python 3.11+ flask-openapi is dependent on the following libraries: - Flask for the web app. - Pydantic for the data validation. Installation Optional dependencies - python-email-validator supports email verification. - python-dotenv enables support for Environment Variables From dotenv when running flask commands. - pyyaml is used to output the OpenAPI document in yaml format. - asgiref allows views to be defined with async def and use await . - flask-openapi-plugins Provide OpenAPI UI for flask-openapi. To install these dependencies with flask-openapi: A Simple Example Here's a simple example, further go to the Example. Class-based API View Example API Document Run the simple example, and go to http://127.0.0.1:5000/openapi. OpenAPI UI plugins are optional dependencies that require manual installation. pip install -U flask-openapi[swagger,redoc,rapidoc,rapipdf,scalar,elements] More optional ui templates goto the document about UI Templates.","default_branch":null,"files":null,"tree":[],"storefront":"/r/luolingchun","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/luolingchun/flask-openapi/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}