carbond.mongodb.MongoDBFindConfig¶
extends FindConfig
The MongoDB find operation config
Instance Properties¶
- ¶
allowUnauthenticated boolean
Inherited fromFindConfig
Default false Description Allow unauthenticated requests to the operation
- ¶
description string
Inherited fromFindConfig
Default undefined Description A brief description of the operation used by the documentation generator
- ¶
driverOptions object.<string, *>
Required Description Options to be passed to the mongodb driver (XXX: link to leafnode docs)
- ¶
endpoint Inherited fromFindConfig
(read-only)Description The parent endpoint/collection that this configuration is a member of
- ¶
example Inherited fromFindConfig
Default undefined Description An example response body used for documentation
- ¶
idParameterName string
Inherited fromFindConfig
(read-only)Description The collection object id property name. Note, this is configured on the top level Collection
and set on the configure during initialzation.
- ¶
maxPageSize number
Inherited fromFindConfig
Required Description If set, then the “limit” parameter will be restricted to min(limit, maxPageSize)
- ¶
noDocument boolean
Inherited fromFindConfig
Default false Description Exclude the operation from “docgen” API documentation
- ¶
options object.<string, *>
Inherited fromFindConfig
Required Description Any additional options that should be added to options passed down to a handler.
- ¶
pageSize boolean
Inherited fromFindConfig
Required Description The page size
- ¶
parameters object.<string, carbond.OperationParameter>
Required Description The “query” parameter definition (will be omitted if supportsQuery
isfalse
)
- ¶
responses Object.<string, carbond.OperationResponse>
Inherited fromFindConfig
Required Description Add custom responses for an operation. Note, this will override all default responses.
- ¶
supportsIdQuery boolean
Inherited fromFindConfig
Required Description Support id queries (id query parameter)
- ¶
supportsPagination boolean
Required Description Support pagination
- ¶
supportsQuery boolean
Default true
Description Whether or not the query parameter is supported. Note, “query” here refers to a MongoDB query and not the query string component of the URL.
- ¶
supportsSkipAndLimit boolean
Required Description Support skip and limit