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

### Actual Behavior Getting generic resposne on validation error ```json { "errors": [ { "class": "", "status": 400, "title": "Value {'flag': 'testF'} not valid for schema of type object: (,)"...

area/documentation
kind/missing-implementation
kind/bug

Handle https://requests.readthedocs.io/en/latest/user/advanced/#chunk-encoded-requests Fixes #554

### Actual Behavior Validaton of (requests) request having json body with array ignore when minItems or maxItems are exeded. ### Expected Behavior It raise InvalidData exeption simarly as for `maxlength`...

kind/bug

### Actual Behavior When it shout check response where request data was [chunked](https://requests.readthedocs.io/en/latest/user/advanced/#chunk-encoded-requests) it fails. ``` @property def body(self) -> Optional[str]: if self.request.body is None: return None if isinstance(self.request.body, bytes):...

kind/bug/confirmed
kind/bug

There is an InvalidParameter error and a ParameterValidationError exported from openapi_core.validation.request.exceptions. The same is true for a lot of the other validation errors like SecurityValidationError. The docs don't explain when...

kind/enhancement

Non-standard format (not registered as a format check in validator) raises error on unmarshalling process. It should ignore the format.

kind/bug/confirmed
area/unmarshalling

Given: ```python from openapi_core.unmarshalling.schemas import oas31_schema_unmarshallers_factory spec = Spec.from_dict({}, validator=None) unmarshaller = oas31_schema_unmarshallers_factory.create(spec) ``` then: ```python unmarshaller.validator.format_checker ``` Expected: Has no `binary` and `byte` checkers registered

kind/bug/confirmed
area/schema-validator

Thanks for `openapi-core`! We're looking at the challenges of updating to the more recent versions `openapi-*` versions on https://github.com/jupyterlab/jupyterlab_server/issues/359, and will likely end up wrapping our current server (`tornado`) in...

### Actual Behavior When using the openapi spec for [Azure OpenAI](https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2024-02-15-preview/inference.json) with any supported body results in a `RecursionError: maximum recursion depth exceeded.` and the code execution stops I had...

kind/bug