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
I have two entities Env and User. And and env could have members (users).
So I wanted to add a new custom operation.
In this case, it do not need to send a body content, because I can give everything in the URL (api/v2/{env uuid}/add-memeber/{user uuid}). So I would like to be able to disable the automatic deserialization.
Note
I saw in the doc, the following route param are mandatory: * defaults={"_api_resource_class"=Env::class, "_api_item_operation_name"="add-member"}
But I looked at the code, and actually, it's not really mandatory, because there is a try/catch there
Then, Even if I add theses param, the new operation is not displayed in the doc (swagger)
RFC
Add an option in the route configuration to not enable the automatic deserialization. because sometimes, you don't need it.
The text was updated successfully, but these errors were encountered:
Hello.
My context
I have two entities
Env
andUser
. And and env could have members (users).So I wanted to add a new custom operation.
In this case, it do not need to send a body content, because I can give everything in the URL (
api/v2/{env uuid}/add-memeber/{user uuid}
). So I would like to be able to disable the automatic deserialization.Note
I saw in the doc, the following route param are mandatory:
* defaults={"_api_resource_class"=Env::class, "_api_item_operation_name"="add-member"}
But I looked at the code, and actually, it's not really mandatory, because there is a try/catch there
Then, Even if I add theses param, the new operation is not displayed in the doc (swagger)
RFC
Add an option in the route configuration to not enable the automatic deserialization. because sometimes, you don't need it.
The text was updated successfully, but these errors were encountered: