scribe icon indicating copy to clipboard operation
scribe copied to clipboard

The same response status code responds to each other, and the generated openapi.yaml lacks response content.

Open lz-freedom opened this issue 8 months ago • 2 comments

Scribe version

4.26.0

PHP version

8.1.7

Framework

Laravel

Framework version

8.83.26

Scribe config

------ SAME AS DEFAULT CONFIG ------

What happened?

The same status code, multiple return structures, the generated openapi.yaml only retains the last return structure. image

  • The content of collection.json is correct, and different results of unified status codes are generated. image
  • The result of openapi.yaml is not as expected, with the same status code and multiple return structures, only the last one is retained. image

Docs

lz-freedom avatar Dec 19 '23 05:12 lz-freedom