Builds the documentation for all the endpoints discovered in an API.
Builds the documentation for all the endpoints discovered in an API.
Returns a list of operations based on the given route.
Returns a list of operations based on the given route. The default implementation returns a list with only 1 operation.
(Since version 2.2) Use the apiOperation.allows
and operation
methods to build swagger descriptions of endpoints
(Since version 2.3.1) This field is no longer used, due to changes in Swagger spec 1.2
(Since version 2.2) Use the apiOperation.errors
and operation
methods to build swagger descriptions of endpoints
(Since version 2.2) This implicit conversion will be removed in the future
(Since version 2.2) Use registerModel[T]
or registerModel(model)
instead, this method will be removed in the future
(Since version 2.2) Use the apiOperation.nickname
and operation
methods to build swagger descriptions of endpoints
(Since version 2.2) Use the apiOperation.notes
and operation
methods to build swagger descriptions of endpoints
(Since version 2.2) Use the apiOperation.parameters
and operation
methods to build swagger descriptions of endpoints
(Since version 2.2) Use the apiOperation.responseClass
and operation
methods to build swagger descriptions of endpoints
(Since version 2.2) Use the variant where you use a type parameter, this method doesn't allow for reflection and requires you to manually ad the model
(Since version 2.2) Use the apiOperation.summary
and operation
methods to build swagger descriptions of endpoints
(Since version 2.2.2) Swagger spec 1.2 renamed this to swaggerDefaultMessages, please use that one