Comments (1)
I experienced this also for the simple object validation (not only "derived").
Probably you are right that this is bug in the lib, at least according to the official page, but workaround would be to explicitly use additionalProperties: false
, for example for capabilities object:
capabilities:
type: object
properties:
capability_1:
type: string
capability_2:
type: string
additionalProperties: false
And fix in the lib should be very simple, I would say.
from openapi-core.
Related Issues (20)
- Using `base_url` changes the behavior of server validation HOT 4
- How to specify custom formatter when using Flask View integration? HOT 3
- [Bug]: Unable to send files through multipart/form in Flask when integrated with Openapi-Core HOT 3
- [Bug]: Invalid import from openapi_core import openapi_request_validator + more HOT 1
- [Bug]: encoding not supported for individual requestBody properties HOT 1
- [Bug]: Spec.from_dict gets stuck when schema has requirements missing HOT 3
- [Bug]: Validate_request does not raise/return any errors when it should
- [Feature]: Iter over errors, not raise them HOT 3
- [Bug]: `FlaskOpenAPIView` no longer supports custom response validator HOT 3
- [Bug]: PathNotFound exception if templated path parameter contains "-" character HOT 1
- [Bug]: UnboundLocalError: local variable 'value' referenced before assignment HOT 4
- [Bug]: Can’t validate numerical string as `type`: `integer`/`number`/`boolean` wrapped in `allOf`/`anyOf`/`oneOf` HOT 3
- [Bug]: Can’t validate `integer`/`number`/`boolean` from `application/x-www-form-urlencoded` request body HOT 4
- [Bug]: Won’t validate empty request body even if it satisfies the schema HOT 1
- [Bug]: Don't cast data from media types deserializer
- [Bug]: Error desc not specifying what went wrong HOT 4
- Spec now validates three times
- [Bug] 0.18.1 + all up to f5f5792a: pytest warnings + call trace HOT 3
- [Feature]: Please backport `jsonschema-path` changes to stable/0.18.x branch HOT 4
- [Bug]: ImportError: cannot import name 'OpenAPI' from 'openapi_core' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openapi-core.