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.
Hi, Unfortunately path templates are not supported in this library; For example, if a `PUT` request is made for a Flask view which has a pattern of, say, `/users/` and...
This pull request adds additional information in the schema object (name and dered) and additional stores a reference in schema errors to the schema that caused the error. This gives...
If one has openapiv3 with server urls: ```yaml - url: https://app-pr-{prId}.herokuapp.com/api/v1 description: Staging variables: prId: default: '1' ``` Then using `https://app-pr-56.herokuapp.com/api/v1` will result into `InvalidServer('Invalid request server https://app-pr-56.herokuapp.com/api/v1/user/login',)`. Workaround for...
Hi guys, I upgraded `openapi-core` on my project to 0.6.0, and now when I get an instance of `RequestValidationResult` and try to access the request body, it's a `Model` instance...
If you have multiple types (oneOf) of items in an array only the first is validated against: schema ``` conditions: type: array items: oneOf: - type: object required: - image...
This is the openapi-core counterpart to https://github.com/p1c2u/openapi-schema-validator/pull/55. I'm not sure if this is really needed, since a fix in `openapi-schema-validator` would fix this. I had it drafted though so I...
Please see https://github.com/p1c2u/openapi-core/commit/3f821484bbcb16b31d9aa0d1a850dbe1e572d062 for a failing testcase. The docs (https://swagger.io/docs/specification/data-models/oneof-anyof-allof-not/#allof) have examples like ```yaml Dog: # "Dog" is a value for the pet_type property (the discriminator value) allOf: # Combines...
Follow up from https://github.com/p1c2u/openapi-spec-validator/issues/173
Bumps [mypy](https://github.com/python/mypy) from 1.8.0 to 1.9.0. Changelog Sourced from mypy's changelog. Mypy Release Notes Mypy 1.9 We’ve just uploaded mypy 1.9 to the Python Package Index (PyPI). Mypy is a...
Bumps [httpx](https://github.com/encode/httpx) from 0.26.0 to 0.27.0. Release notes Sourced from httpx's releases. Version 0.27.0 0.27.0 (21st February, 2024) Deprecated The app=... shortcut has been deprecated. Use the explicit style of...