Open hjfitz opened 2 years ago
It would be great if we could specify different types in @body, or another decorator like @bodies to enable us to support different payload formats.
For example:
@request('POST', '/example-url') @bodies({directive: 'allOf', payloads: [SchemaOne, SchemaTwo]}) someRequest() {}
It would be great if we could specify different types in @body, or another decorator like @bodies to enable us to support different payload formats.
For example: