openapi-core
openapi-core copied to clipboard
Openapi-core is a Python library that adds client-side and server-side support for the OpenAPI v3.0 and OpenAPI v3.1 specification.
* Currently formatter is called after validating the field, is there any option to alter this flow. * use-case: - I have to trim string values before validating with `minLength`.
Does openapi-core provide support for deep Object in query params Below i have my schema specifying parameters ``` parameters [ { "name": "abcd", "in": "query", "description": "Parameters", "explode": false, "style":...
The `DjangoOpenAPIRequest` class accesses `request.body`. This can cause issues related to reading the POST data twice, as described here: https://github.com/encode/django-rest-framework/issues/2774 I have found that DRF accesses the `request.body` to read...
Creating a spec fails if schemas in the spec dict contain non-JSON-serializable objects. That's for example the case when generating the spec dict from a deserialized OpenAPI template in YAML...
Hi. I am trying to validate a request which is an object "derived" from other object using allOf ``` components: schemas: Base: type: object properties: ctime: type: integer ExtendedResource: allOf:...
It will be very useful if we can access the field-context in custom-formatters for unmarshalling.
We are using same schema for POST & PATCH and we declared a `default` value for a field. In the PATCH request, if this field is not given it is...
Does openapi support `request-body` for DELETE request ?. \ I am getting `None` after validation.
"Any Type" is part of the specification ( https://swagger.io/docs/specification/data-models/data-types/#any ), however this library does not support it. The problem seems that, when creating the `Schema` for a schema spec that...