Andriy Kurilin
Andriy Kurilin
One of the possible use-cases is testing purpose (ensuring that documentation is correct). PS: flask-restplus validates both requests and responses when `validate=True` is configured.
@ehsanonline: Despite the fact that you find a workaround for yourself, I would like to explain why you got the validation error. The reason is not in Quart-OpenAPI itself, but...
> because v4 doesn't support the allof or oneof, etc. tags within the schema. It is not True: https://json-schema.org/draft-04/json-schema-validation.html#rfc.section.5.5.4 https://json-schema.org/draft-04/json-schema-validation.html#rfc.section.5.5.5 But anyway, Draft-7 provides some good stuff: - readOnly/writeOnly keywords...
@ziirish hi! I have a custom Model class that allows describing not-json like input, for example just a single string. To make it work through the swagger UI, an expected...
Python interpreter uses `__name__` variable to identify whether python file should be executed as a script or as a module. Everything under `__name__ == "__main__"` block will be executed only...
Please check the following code of the simplified application that covers the whole workflow: ```python # filename app.py import flask import flask_restx APP = flask.Flask("some-app") api_bp = flask.Blueprint("v1_api", __name__, url_prefix="/api/v1")...