Skip to content
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

feat: support swagger 2.0 and JSON Schema draft 4 inputs #372

Closed
wants to merge 12 commits into from

Conversation

jonaslagoni
Copy link
Member

@jonaslagoni jonaslagoni commented Sep 14, 2021

Description
This PR refactors some of the core input processor code and adds new schema models for draft 4 and swagger 2.0 schema.

One question you might have looking at this, "why not use already pre-defined types for these schemas?", well they are faulty and unprecise in most cases. This way we are sure on the content on the schemas files.

Related document for seeing which schema properties are related:
spec schema sharing drawio

Related issue(s)
Related to #360
Fixes #86

@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot E 1 Security Hotspot
Code Smell A 6 Code Smells

No Coverage information No Coverage information
0.1% 0.1% Duplication

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

Successfully merging this pull request may close these issues.

originalSchema for CommonModel should be called originalInput
1 participant