We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 supports it and this feature is useful when writing code-generated API wrappers.
Here is how it looks like in the OpenAPI spec:
components: responses: sampleObjectResponse: content: application/json: schema: oneOf: - $ref: '#/components/schemas/Object1' - $ref: '#/components/schemas/Object2' - $ref: 'sysObject.json#/sysObject' discriminator: propertyName: objectType mapping: obj1: '#/components/schemas/Object1' obj2: '#/components/schemas/Object2' system: 'sysObject.json#/sysObject'
Example was taken from here.
The text was updated successfully, but these errors were encountered:
Welcome to OpenRPC! Thank you for taking the time to create an issue. Please review the guidelines
Sorry, something went wrong.
This is similar to an earlier request: #357
Would be great to hear which path maintainers prefer so someone could cook up a PR
No branches or pull requests
OpenAPI supports it and this feature is useful when writing code-generated API wrappers.
Here is how it looks like in the OpenAPI spec:
Example was taken from here.
The text was updated successfully, but these errors were encountered: