PhoenixSwagger.Path.parameters
You're seeing just the macro
parameters
, go back to PhoenixSwagger.Path module for more information.
Defines multiple parameters for an operation with a custom DSL syntax.
Examples
swagger_path :create do
post "/api/v1/{team}/users"
summary "Create a new user"
parameters do
user :body, Schema.ref(:User), "user attributes"
team :path, :string, "Users team ID"
end
response 200, "OK", :User
end