Comments (7)
@gberaudo 1.x is planned to be stable for production, 0.x is marked as beta and you can expect issues.
@RobbeSneyders I think you're right we dropped support for jsonschema3 too early. I made dependency matrix for various versions
OAS | 3.0 | 3.0 | 3.1 |
---|---|---|---|
python | 2.7+ | 3.7+ | 3.7+ |
jsonschema | 2.x-3.x | 3.x-4.x | 4.x+ |
openapi-schema-validator | 0.1.x | 0.2.x | 0.3.x |
openapi-spec-validator | 0.3.x | 0.4.x | 0.5.x |
openapi-core | 0.14.x | 0.15.x | 0.16.x |
from openapi-schema-validator.
Fair point on increasing the minor version while still on 0.X.X, dependents should probably define boundaries on the minor version at this stage. It might be good to note though that caret versioning seems poetry specific, and not completely aligned with semantic versioning which is what most people will expect.
I still think my proposal is valid though. At this point the iter_errors
change is unnecessary and limits the compatibility of open-schema-validator
with both jsonschema
and other packages depending on it.
from openapi-schema-validator.
Thanks @p1c2u, that matrix provides a great overview.
Does that mean you want to release a patch version 0.2.1 reverting #25, as proposed?
from openapi-schema-validator.
@RobbeSneyders
Yes I will do that.
from openapi-schema-validator.
Thank you for your help. Patch version 0.2.1
released hence closing.
from openapi-schema-validator.
that was my intention to follow new interface of jsonschema 4.x-5.x with version 0.2.x and let 0.1.x support jsonschema 3.x.
I didn't change to version 1.x because the project is not mature enough for this, instead I changed the left-most non-zero digit to follow Caret versioning
from openapi-schema-validator.
Hi @p1c2u,
I didn't change to version 1.x because the project is not mature enough for this, instead I changed the left-most non-zero digit to follow Caret versioning
Do you consider versions 0.x to be ready for production? (and more generaly openapi-core ?
from openapi-schema-validator.
Related Issues (20)
- Validate byte properly
- Inner any of type mismatch not raising error
- Validating schema using yaml file HOT 2
- Nullable Strings are not recognized, incorrect check for None if type is string
- Cannot import _legacy_validators HOT 5
- OAS30Validator validates readonly/writeonly incorectly
- Validate doesnt seem to match schema correctly? HOT 3
- How to resolve local references with jsonschema/referencing HOT 12
- minLength error message is missing the path/field that is in error. HOT 1
- Failure to validate exclusiveMinimum for OpenAPI 3.0 HOT 1
- Incompatible with jsonschema 4.10.0 HOT 3
- Subclassing JSONSchema validator class with OAS30Validator HOT 1
- Redundant runtime dependency on `attrs`
- 0.4.2 test failures: tests/integration/test_validators.py::TestOAS{30,31}Validator::test_format_checkers HOT 1
- OpenAPI 3.0 Validator allows byte as string type
- OpenAPI 3.0 list of types raises TypeError not SchemaError HOT 1
- Formats raise error for other types
- AttributeError: module 'jsonschema._utils' has no attribute 'load_schema' HOT 2
- ERROR in validation: ... validation error: '2023-03-23 13:35:45' is not a 'date-time' - 'timestamp' HOT 2
- `readOnly` / `writeOnly` support for OpenAPI 3.1 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-schema-validator.