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
oneOf basically means union type We could encode them with F# DUs
paths: /pets: patch: requestBody: content: application/json: schema: oneOf: - $ref: '#/components/schemas/Cat' - $ref: '#/components/schemas/Dog' responses: '200': description: Updated components: schemas: Dog: ... Cat: ...
should generate
// usual generation of type objects type Dog = ... type Cat = ... type CatOrDog = //generatedName | Cat of Cat | Dog of Dog
The text was updated successfully, but these errors were encountered:
No branches or pull requests
oneOf basically means union type
We could encode them with F# DUs
should generate
The text was updated successfully, but these errors were encountered: