-
Notifications
You must be signed in to change notification settings - Fork 493
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
Feature request: Schema format #1193
Comments
Hi, |
could you please give me an example of the pattern for an enum? I want to have id and displayed name separately. Would that be possible with a pattern? Ex: |
@see https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#schema-object pattern (This string SHOULD be a valid regular expression, according to the Ecma-262 Edition 5.1 regular expression dialect) |
@vvilerio thanks for your comment, but I am still unsure if what I want to achieve is doable in OpenAPI Specification. I would be thankful if you could help me out. I want to build the following that contains id and label for enums. Ex: |
Hi,
It would be nice if you could support all of the OAS 3 imported types from JSON Schema. https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md#schema-object
Also the nullable, readOnly, writeOnly
Ideally, the valid choices would be related to the data type.
For example for strings:
For integers and float:
For arrays:
For objects:
Support for this is very rare and would make apicurio the most complete Editor beside commercial products
Thanks in advance for considering
The text was updated successfully, but these errors were encountered: