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
Is it possible to have multiple HTTP definitions for a single route?
For example, I have one route named the same that has both GET and POST HTTP methods.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is it possible to have multiple HTTP definitions for a single route?
For example, I have one route named the same that has both GET and POST HTTP methods.
I believe this is what it would look like in OA;
OAI/OpenAPI-Specification#2699 (reply in thread)
If I attempt to have one @OA\Get() and one @OA\Post() method an error would be returned like
'Unable to merge @OA\Post()'
Beta Was this translation helpful? Give feedback.
All reactions