-
Notifications
You must be signed in to change notification settings - Fork 37
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
[FR] Extend support for Json Schema #166
Labels
enhancement
New feature or request
help wanted
The team has de-prioritized this and could use your help!
Comments
Thank you for your PR in support of this feature @gberche-orange! This is not currently prioritized by the CSB team, so I have marked it as "help-wanted." We will follow up if anything changes 💯 |
Hi @gberche-orange, is this something you still want? We don't still have bandwidth to tackle this request and it has been open for contributions for a long time now. Would you be able to submit a PR? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
New feature or request
help wanted
The team has de-prioritized this and could use your help!
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
The Json schema for array (see https://json-schema.org/understanding-json-schema/reference/array.html#list-validation ) requires support for the
items
elementWithout this element, OSB client form generator such as https://github.com/cloudfoundry/stratos don't generate the entry for the parameter of type
array
details of rendering without `items` keyword
Json schema generated by CSB, which is missing the
items
elementRendering without
![image](https://user-images.githubusercontent.com/4748380/105186059-9833f880-5b31-11eb-95fe-0b2f502616fb.png)
items
json schema elementRendering with
![image](https://user-images.githubusercontent.com/4748380/105186054-95d19e80-5b31-11eb-886c-552d1f4f3fb9.png)
items
json schema element (note the yellow button to add new array entries)Json schema fragment with
items
See https://hamidihamza.com/ajsf/?set=ng-jsf&example=ng-jsf-nested-arrays&framework=material-design&language=en for live demo of Json schema form generation
Describe alternatives you've considered
items
constraint elementAdditional Context
Currently adding a constraint with the following produces no error message at build or serving, but the served
v2/catalog
does not include theitems
element in the JSON Schema.Fails at catalog serving with output:
Priority
Priority Context
Platform
Applicable Services
The text was updated successfully, but these errors were encountered: