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

Generated schemas contain a deprecated meta-schema URI reference #2519

Closed
manusa opened this issue Sep 30, 2020 · 1 comment · Fixed by #2615
Closed

Generated schemas contain a deprecated meta-schema URI reference #2519

manusa opened this issue Sep 30, 2020 · 1 comment · Fixed by #2615
Assignees
Labels
Milestone

Comments

@manusa
Copy link
Member

manusa commented Sep 30, 2020

Description

JSON schemas generated by the client contain an unversioned meta-schema URI reference.

image

The value referenced here:

Schema: "http://json-schema.org/schema#",

should be updated to the applicable version (e.g. https://json-schema.org/draft/2019-09/schema).

The generated schema files kube-schema.json, kube-validation-schema.json and validation-schema.json in each model module should contain the updated entries.

See also:

@manusa manusa added the bug label Sep 30, 2020
@manusa manusa self-assigned this Nov 19, 2020
@manusa
Copy link
Member Author

manusa commented Nov 19, 2020

Schemas generated with https://json-schema.org/draft/2019-09/schema version seem to be invalid.

Using latest version which still produces a valid schema instead: http://json-schema.org/draft-05/schema#.

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

Successfully merging a pull request may close this issue.

1 participant