Bump
Search…
⌃K

Polymorphism

anyOf, oneOf, allOf...
Bump fully supports polymorphism for OpenAPI and AsyncAPI, commonly called anyOf, oneOf and allOf. More details on these discriminators can be found on each specification documentation:
To ease readability, we strongly recommend to give titles to your alternatives: it will help to identify and search them, specifically if you use this feature extensively.
Here's an example of polymorphism in action: