flask-smorest
flask-smorest copied to clipboard
DB agnostic framework to build auto-documented REST APIs with Flask and marshmallow
Bumps [flask](https://github.com/pallets/flask) from 2.1.3 to 2.2.2. Release notes Sourced from flask's releases. 2.2.2 This is a fix release for the 2.2.0 feature release. Changes: https://flask.palletsprojects.com/en/2.2.x/changes/#version-2-2-1 Milestone: https://github.com/pallets/flask/milestone/25?closed=1 2.2.1 This is...
Looks like some configs like `OPENAPI_URL_PREFIX` are fixed to the application and this prevents the ability to have multiple apis for 1 app. The simplest case I'd think 1 Api()...
Hello! I did not found standard way to describe a multipart request. Is it supported? Currently i had to write something like this to let uploaded files work: ``` request_body_description...
When upgrading a service to `[email protected]`, it came with upgrading to `[email protected]`. Then, when running our openapi linting step, the following came up: ``` + flask openapi write openapi.json +...
I have an app, with two separate REST APIs - private api and public api. Is there a way to mark certain blueprints to be blacklisted from auto-generated docs? I...
I wanted to avoid wrapping all my sqlachemy queries with annoying try-catch so I created the follow error handler: ```python def handle_sqlachemy_dbapi_errors(e): db.session.rollback() if e.orig.pgcode == UNIQUE_VIOLATION: abort(409, errors=e.__class__.__name__, message=e.orig.diag.message_detail)...
Hi, I am wondering if there is a way to have a list instead of the json object in the request body? My currect solution with a schema containing a...
According to the docs: > The view function must also specify the total number of elements by setting it as item_count attribute of the PaginationParameters object. I was wondering to...
I really like adding example data to my OpenAPI spec. It helps some of my users understand my API endpoints more easily, and Rapidoc UI has a convenient "Fill Example"...
Is there a way, via `API_SPEC_OPTIONS`, `OPENAPI_RAPIDOC_CONFIG`, or some other app config constant, to set the logo for use in rapidoc? Specifically I'm looking for something like the `Change Logo`...