Versions in this module Expand all Collapse all v1 v1.24.3 Apr 25, 2026 Changes in this version + const HttpAuthScopes + var Spec []byte + func Handler(si ServerInterface) http.Handler + func HandlerFromMux(si ServerInterface, m ServeMux) http.Handler + func HandlerFromMuxWithBaseURL(si ServerInterface, m ServeMux, baseURL string) http.Handler + func HandlerWithOptions(si ServerInterface, options StdHTTPServerOptions) http.Handler + type AggregateJSONBody = AggregateRequestBody + type AggregateJSONRequestBody = AggregateJSONBody + type AggregateRequestBody struct + Collection string + DataSource string + Database string + Pipeline *json.RawMessage + type AggregateResponseBody struct + Documents json.RawMessage + type BadRequestError struct + func (t *BadRequestError) FromErrorMissingAuthenticationParameter(v ErrorMissingAuthenticationParameter) error + func (t *BadRequestError) FromErrorNoAuthenticationSpecified(v ErrorNoAuthenticationSpecified) error + func (t *BadRequestError) MergeErrorMissingAuthenticationParameter(v ErrorMissingAuthenticationParameter) error + func (t *BadRequestError) MergeErrorNoAuthenticationSpecified(v ErrorNoAuthenticationSpecified) error + func (t *BadRequestError) UnmarshalJSON(b []byte) error + func (t BadRequestError) AsErrorMissingAuthenticationParameter() (ErrorMissingAuthenticationParameter, error) + func (t BadRequestError) AsErrorNoAuthenticationSpecified() (ErrorNoAuthenticationSpecified, error) + func (t BadRequestError) MarshalJSON() ([]byte, error) + type DeleteManyJSONBody = DeleteRequestBody + type DeleteManyJSONRequestBody = DeleteManyJSONBody + type DeleteOneJSONBody = DeleteRequestBody + type DeleteOneJSONRequestBody = DeleteOneJSONBody + type DeleteRequestBody struct + Collection string + DataSource string + Database string + Filter *json.RawMessage + type DeleteResponseBody struct + DeletedCount interface{} + type Error struct + Error string + ErrorCode string + Link string + type ErrorMissingAuthenticationParameter struct + Error interface{} + ErrorCode interface{} + Link string + type ErrorNoAuthenticationSpecified struct + Error interface{} + ErrorCode interface{} + Link string + type ErrorUserNotFound struct + Error interface{} + ErrorCode interface{} + Link string + type Filter struct + Filter *json.RawMessage + type FindJSONBody = FindManyRequestBody + type FindJSONRequestBody = FindJSONBody + type FindManyRequestBody struct + Collection string + DataSource string + Database string + Filter *json.RawMessage + Limit *float32 + Projection *json.RawMessage + Skip *float32 + Sort *json.RawMessage + type FindManyResponseBody struct + Documents *json.RawMessage + type FindOneJSONBody = FindOneRequestBody + type FindOneJSONRequestBody = FindOneJSONBody + type FindOneRequestBody struct + Collection string + DataSource string + Database string + Filter *json.RawMessage + Projection *json.RawMessage + type FindOneResponseBody struct + Document *json.RawMessage + type InsertManyJSONBody = InsertManyRequestBody + type InsertManyJSONRequestBody = InsertManyJSONBody + type InsertManyRequestBody struct + Collection string + DataSource string + Database string + Documents json.RawMessage + type InsertManyResponseBody struct + InsertedIds *[]any + type InsertOneJSONBody = InsertOneRequestBody + type InsertOneJSONRequestBody = InsertOneJSONBody + type InsertOneRequestBody struct + Collection string + DataSource string + Database string + Document json.RawMessage + type InsertOneResponseBody struct + InsertedId *any + type InvalidParamFormatError struct + Err error + ParamName string + func (e *InvalidParamFormatError) Error() string + func (e *InvalidParamFormatError) Unwrap() error + type Limit struct + Limit *float32 + type MiddlewareFunc func(http.Handler) http.Handler + type Namespace struct + Collection string + DataSource string + Database string + type Projection struct + Projection *json.RawMessage + type RequiredHeaderError struct + Err error + ParamName string + func (e *RequiredHeaderError) Error() string + func (e *RequiredHeaderError) Unwrap() error + type RequiredParamError struct + ParamName string + func (e *RequiredParamError) Error() string + type Response interface + type ServeMux interface + HandleFunc func(pattern string, handler func(http.ResponseWriter, *http.Request)) + ServeHTTP func(w http.ResponseWriter, r *http.Request) + type ServerInterface interface + Aggregate func(w http.ResponseWriter, r *http.Request) + DeleteMany func(w http.ResponseWriter, r *http.Request) + DeleteOne func(w http.ResponseWriter, r *http.Request) + Find func(w http.ResponseWriter, r *http.Request) + FindOne func(w http.ResponseWriter, r *http.Request) + InsertMany func(w http.ResponseWriter, r *http.Request) + InsertOne func(w http.ResponseWriter, r *http.Request) + UpdateMany func(w http.ResponseWriter, r *http.Request) + UpdateOne func(w http.ResponseWriter, r *http.Request) + type ServerInterfaceWrapper struct + ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error) + Handler ServerInterface + HandlerMiddlewares []MiddlewareFunc + func (siw *ServerInterfaceWrapper) Aggregate(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) DeleteMany(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) DeleteOne(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) Find(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) FindOne(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) InsertMany(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) InsertOne(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) UpdateMany(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) UpdateOne(w http.ResponseWriter, r *http.Request) + type Skip struct + Skip *float32 + type Sort struct + Sort *json.RawMessage + type StdHTTPServerOptions struct + BaseRouter ServeMux + BaseURL string + ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error) + Middlewares []MiddlewareFunc + type TooManyValuesForParamError struct + Count int + ParamName string + func (e *TooManyValuesForParamError) Error() string + type UnauthorizedRequestError = ErrorUserNotFound + type UnescapedCookieParamError struct + Err error + ParamName string + func (e *UnescapedCookieParamError) Error() string + func (e *UnescapedCookieParamError) Unwrap() error + type UnmarshalingParamError struct + Err error + ParamName string + func (e *UnmarshalingParamError) Error() string + func (e *UnmarshalingParamError) Unwrap() error + type UpdateManyJSONBody = UpdateRequestBody + type UpdateManyJSONRequestBody = UpdateManyJSONBody + type UpdateOneJSONBody = UpdateRequestBody + type UpdateOneJSONRequestBody = UpdateOneJSONBody + type UpdateRequestBody struct + Collection string + DataSource string + Database string + Filter json.RawMessage + Update json.RawMessage + Upsert *bool + type UpdateResponseBody struct + MatchedCount interface{} + ModifiedCount interface{} + UpsertedId *string