-
Notifications
You must be signed in to change notification settings - Fork 46
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
OpenAPI literalData only String, inlineValue/referenceValue cannot specify uom / format; Merge complexData and literalData? #95
Comments
As discussed in another issue, the input and output definitions should be adapted from the XML paradigm to the new JSON schema world. Thus, I strongly recommend to review those schema and use JSON schema properties as follows for defining inputs/outputs. Major mappings would be as follows:
This might be achieved by merging literal/complex or not. (If you merge the definition of literal/complex, the specificification will have to state the inputs with binary type can be provided by reference (url) and JSON object can be provided inline or by reference). Some examples:
|
See the Schema Object definition at : https://swagger.io/specification/#schema-object |
The respective changes should be merged now. |
While working on Workflows extension, we realized that
literalData
could only be string, whileinlineValue
/referenceValue
did not allow specifyinguom
orformat
. The distinction betweenliteralData
vs.inlineValue
is also not clear.We're seeing potential to simplify the definition if we want to allow this extra flexibility by merging
complexData
andliteralData
, as we have done here:https://app.swaggerhub.com/apis/jerstlouis/MOAW/MOAW-0.2#/inlineOrRefData
The text was updated successfully, but these errors were encountered: