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
When I generate a Lumen server stub from swagger editor online, generated controller has param validation for body name. Documentation here
say that this name is ignored but Lumen Stub has check for body name parameter.
@wing328 it's not about optional or required but trying to implement 2.0 specs like here : https://swagger.io/docs/specification/2-0/describing-request-body/
Particularly this : "The payload name. It is required but ignored (it is used for documentation purposes only)."
I documented a body parameter called 'body' but 'body' parameter is never sent when executing request from swagger-ui so server side should not check this parameter.
Description
When I generate a Lumen server stub from swagger editor online, generated controller has param validation for body name. Documentation here
say that this name is ignored but Lumen Stub has check for body name parameter.
Swagger-codegen version
online swagger editor 2.2.3
Swagger declaration file content or url
Lumen stub has this check :
The text was updated successfully, but these errors were encountered: