carbond.mongodb.MongoDBFindConfig¶
extends FindConfig
The MongoDB find operation config
Instance Properties¶
- ¶
allowUnauthenticated booleanInherited fromFindConfigDefault false Description Allow unauthenticated requests to the operation
- ¶
description stringInherited fromFindConfigDefault 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 fromFindConfigDefault undefined Description An example response body used for documentation
- ¶
idParameterName stringInherited fromFindConfig(read-only)Description The collection object id property name. Note, this is configured on the top level Collectionand set on the configure during initialzation.
- ¶
maxPageSize numberInherited fromFindConfigRequired Description If set, then the “limit” parameter will be restricted to min(limit, maxPageSize)
- ¶
noDocument booleanInherited fromFindConfigDefault false Description Exclude the operation from “docgen” API documentation
- ¶
options object.<string, *>Inherited fromFindConfigRequired Description Any additional options that should be added to options passed down to a handler.
- ¶
pageSize booleanInherited fromFindConfigRequired Description The page size
- ¶
parameters object.<string, carbond.OperationParameter>Required Description The “query” parameter definition (will be omitted if supportsQueryisfalse)
- ¶
responses Object.<string, carbond.OperationResponse>Inherited fromFindConfigRequired Description Add custom responses for an operation. Note, this will override all default responses.
- ¶
supportsIdQuery booleanInherited fromFindConfigRequired Description Support id queries (id query parameter)
- ¶
supportsPagination booleanRequired Description Support pagination
- ¶
supportsQuery booleanDefault trueDescription 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 booleanRequired Description Support skip and limit