I've found article about swagger 2.0 and openapi 3.0 https://stackoverflow.com/a/44534699
But is there alternative way to get multiple responses with the same http-code in swaggo?
I guess only one thing that can I do is merge fields someStruct1 and someStruct2 into one someStruct3 struct.
Is your feature request related to a problem? Please describe.
Describe the solution you'd like https://swagger.io/docs/specification/data-models/oneof-anyof-allof-not/
for example in gererated openapi.yaml file I would like to see something like that:
Is it possible to use 'oneOf' in swaggo v1.8.12 ?
I've found article about swagger 2.0 and openapi 3.0 https://stackoverflow.com/a/44534699 But is there alternative way to get multiple responses with the same http-code in swaggo?
I guess only one thing that can I do is merge fields someStruct1 and someStruct2 into one someStruct3 struct.
https://stackoverflow.com/a/47453822
Thanks for your answers!