Skip to content

Add discriminator support #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
slinkydeveloper opened this issue May 30, 2017 · 3 comments
Closed

Add discriminator support #35

slinkydeveloper opened this issue May 30, 2017 · 3 comments

Comments

@slinkydeveloper
Copy link

Hi,
I'm actually coding tools for OpenAPI 3 using your json schema validator. I know that it's a field out of JSON Schema Spec, but what do you think about implementing discriminator field of OpenAPI 3 spec? For more info: https://github.com/OAI/OpenAPI-Specification/blob/OpenAPI.next/versions/3.0.md#fixed-fields-20

Thank you

@stevehu
Copy link
Contributor

stevehu commented May 31, 2017

@slinkydeveloper I have read the spec and it looks like easy to implement. We are in a process to refactor the library in order to support different versions of draft spec from 4 to 6 as well as customized validators. I will keep this open until the architecture change is done. I am a user of OpenAPI spec and I have a framework to generate the code and utilize the spec to do the validation and jwt scope verification at runtime. It is my best interest to support you:)

@slinkydeveloper
Copy link
Author

That's awesome thank you! I'm actually developing as gsoc student the support to openapi 3 inside vertx-web with runtime parameter validation and other stuff. If you want, take a look: https://github.com/slinkydeveloper/vertx-web/tree/designdriven/vertx-web/src/main/java/io/vertx/ext/web/validation

@stevehu
Copy link
Contributor

stevehu commented Mar 30, 2021

closed with most features implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants