Open lz-freedom opened 6 months ago
Isn't this a limitation from the OpenAPI spec? Does it support multiple response types for the same status code?
I think the right way to do this is by using oneOf
? 🤔 I don't know if that support separate descriptions, though.
Scribe version
4.26.0
PHP version
8.1.7
Framework
Laravel
Framework version
8.83.26
Scribe config
What happened?
The same status code, multiple return structures, the generated openapi.yaml only retains the last return structure.
Docs