openapi-core icon indicating copy to clipboard operation
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.

Results 138 openapi-core issues
Sort by recently updated
recently updated
newest added

Validating an array against the empty schema `{}` gives `KeyError: 'items'`. A `git bisect` shows this was introduced by commit 35f8e28157ca5d2f1ddd9f5684c4e6c0ddf75d6c (#318). ```python3 from openapi_core import create_spec from openapi_core.testing import...

## Problem statement Currently deepObjects are not supported, this PR adds that support. ## Description Example spec ```yaml components: parameters: exampleParameter: name: paramObj in: query required: true explode: true style:...

While using `ResponseValidator.validate` I noticed validation is sensitive to the content-type header including character encoding details. In case an HTTP response includes `content-type: application/json; charset=utf-8` validation fails: `MediaTypeNotFound(mimetype='application/json; charset=utf-8', availableMimetypes=['application/json'])`...

If a discriminator is set for a list of oneOf schemas only the matching schema should be validated against and therefore useful errors can be provided: schema ``` requestBody: content:...

kind/enhancement
area/schema

Hi , Does open-api core include support for discriminator i tried it but didn't seem to work. [https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#discriminatorObject](url) if not any hints on how i could include it in my...

kind/question

* I have a usecase with validating request by `discriminator` and it is not supported yet.

kind/question

Hi, I've run into the problem, when I'm not able to show which invalid parameter raised an `InvalidSchemaValue`. As `InvalidSchemaValue` contains a list of `schema_errors` (`List[JsonSchemaValidationError]`) I expect to have...

area/unmarshalling
area/casting

Thanks for the excellent library. I have a request. I'm currently getting error messages like the following for an invalid schema: ``` Traceback (most recent call last): ... File ".../openapi_core/unmarshalling/schemas/unmarshallers.py",...

kind/enhancement
area/unmarshalling

**Use case description.** Inside my schema yaml file I've specified that response from some URL handler would be an array of objects, e.g.: ``` responses: "200": description: An array of...

kind/bug/confirmed
area/schema

Something still missing in all OpenAPI-first implementations I've seen for Python including `openapi-core` is type-safety w.r.t. the validated request body, URL parameters, and headers. `openapi-core` validates this data, but there...