You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 4, 2024. It is now read-only.
PROBLEM
Prerequisite:
responses: '201': description: OK
requestBody does not create a \yii\rest\CreateAction, but only an abstract CreateAction.
GIVEN
schema.yaml
I have deliberately declared responses 201 as OK instead of Account Model, so that responses have no effect.
EXECUTE
./yii gii/api
EXPECTED
ACTUAL
P.S.
The expected change can also be achieved by entering a $ref instead of OK for responses 201.
Like here:
However, it must also work if you do not specify $ref as responses
The text was updated successfully, but these errors were encountered: