My current problem, is because is difficult call APIs that use polymorphic payload (the POST:/example with request payload #/components/schemas/BaseA )
The Swagger UI don't help creating this polymorphic payload ... it only present property 't'
How can we help?
What is the best way to represent this polymorphic payloads?
Thanks in advance, i would appreciate help,
In the future i could open-source this integration LAGOM <-> SWAGGER
I there, I'm doing an integration with Lagom Framework.
I already being able to generate OpenAPI definition, and it is working very well: Swagger definition
Screenshots
My current problem, is because is difficult call APIs that use polymorphic payload (the POST:/example with request payload #/components/schemas/BaseA ) The Swagger UI don't help creating this polymorphic payload ... it only present property 't'
How can we help?
What is the best way to represent this polymorphic payloads?
Thanks in advance, i would appreciate help, In the future i could open-source this integration LAGOM <-> SWAGGER