myshalov-taptima

Results 5 comments of myshalov-taptima

@GuilhemN to be honest, I doubt if this repo is valid for this issue. If it's not, please, redirect me to the proper one :)

Thank you very much for the quick response! Now I have: ```PHP * @SWG\Response( * response=500, * description="Error response", * examples={{1}, {2}, {3}} * ) ``` But the result is...

```PHP * @SWG\Response( * @SWG\Schema(), * response=500, * description="Error response", * examples={{1}, {2}, {3}} * ) ``` ![image](https://user-images.githubusercontent.com/91519062/136343007-bd819172-0493-4682-b2c3-377c81ca37cc.png) Maybe I misunderstood your message, but IMHO this is expected behavior :)...

No, it does not work like that. ```PHP * @SWG\Response( * @SWG\Schema(type="integer"), * response=500, * description="Error response", * examples={1, 2, 3} * ) ``` ![image](https://user-images.githubusercontent.com/91519062/136481198-a8642d38-6e4f-43ca-aaa5-3335cfd43802.png) But if I do it...

okay, I decided to use enum in this case like that ```PHP * @SWG\Property(property="status", type="string", enum={Message::INVALID_ORDER_DATA_MESSAGE, "test"}, description="Status of request"), ``` seems like very good workaround here. This is answer...