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 If `additionalProperties: false` is declared in components and being combined into one by `allOf`, validation unconditionally fails. Let's say we have following OpenAPI spec: ``` --- openapi:...

kind/bug

### Actual Behavior `openapi_request = WerkzeugOpenAPIRequest(request) ` type of openapi_request: openapi_core.contrib.werkzeug.requests.WerkzeugOpenAPIRequest `openapi.validate_request(openapi_request)` │ File "/home/odoo/.local/lib/python3.8/site-packages/openapi_core/app.py", line 347, in validate_request │ self.validate_apicall_request(request) │ File "/home/odoo/.local/lib/python3.8/site-packages/openapi_core/app.py", line 359, in validate_apicall_request │ raise...

kind/bug

### Suggested Behavior In the depreciated version there was: ``` from openapi_core import openapi_request_validator #allows u to iter through all the errors found, in this way, you could use the...

kind/enhancement

### Suggested Behavior When I create an OpenAPI instance with a multi-file schema, I find myself writing: ```python spec_path = "path/to/spec.yaml" openapi = openapi_core.OpenAPI.from_file_path( spec_path, config=openapi_core.Config(spec_base_uri=Path(spec_path).as_uri()), ) ``` This feels...

kind/enhancement

### Actual Behavior When validating a request, I get a different validation error depending on the structure of the schema. If I have the following schema: ```yaml Pet: type: object...

kind/bug

Breaking change Follow-up change from #599

Add an integration similar to django/flask ``` +---------+ event +---------+ | API_GW +----------->+ lambda | +---------+ +---------+ ``` The event object is structured as here: https://docs.aws.amazon.com/lambda/latest/dg/services-apigateway.html Example implementation: ```python def...

kind/enhancement
area/contrib

### Actual Behavior So i use: from openapi_core import validate_request To validate request data versus schema: validate_request(request_data, self.spec) Here's the snipped for request body: getRequest: type: object properties: type_of: type:...

kind/bug

### Suggested Behavior Public API docstrings and autodoc ### Why is this needed? Required before stable release ### References _No response_ ### Would you like to implement a feature? None

kind/enhancement