Versions in this module Expand all Collapse all v0 v0.1.0 Sep 27, 2024 Changes in this version + const Api_keyScopes + const Petstore_authScopes + func Handler(si ServerInterface) http.Handler + func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler + func HandlerFromMuxWithBaseURL(si ServerInterface, r chi.Router, baseURL string) http.Handler + func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler + type AddPetFormdataRequestBody = Pet + type AddPetJSONRequestBody = Pet + type ApiResponse struct + Code *int32 + Message *string + Type *string + type Category struct + Id *int64 + Name *string + type ChiServerOptions struct + BaseRouter chi.Router + BaseURL string + ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error) + Middlewares []MiddlewareFunc + type CreateUserFormdataRequestBody = User + type CreateUserJSONRequestBody = User + type CreateUsersWithListInputJSONBody = []User + type CreateUsersWithListInputJSONRequestBody = CreateUsersWithListInputJSONBody + type DeletePetParams struct + ApiKey *string + type FindPetsByStatusParams struct + Status *FindPetsByStatusParamsStatus + type FindPetsByStatusParamsStatus string + const FindPetsByStatusParamsStatusAvailable + const FindPetsByStatusParamsStatusPending + const FindPetsByStatusParamsStatusSold + type FindPetsByTagsParams struct + Tags *[]string + type InvalidParamFormatError struct + Err error + ParamName string + func (e *InvalidParamFormatError) Error() string + func (e *InvalidParamFormatError) Unwrap() error + type LoginUserParams struct + Password *string + Username *string + type MiddlewareFunc func(http.Handler) http.Handler + type Order struct + Complete *bool + Id *int64 + PetId *int64 + Quantity *int32 + ShipDate *time.Time + Status *OrderStatus + type OrderStatus string + const Approved + const Delivered + const Placed + type Pet struct + Category *Category + Id *int64 + Name string + PhotoUrls []string + Status *PetStatus + Tags *[]Tag + type PetStatus string + const PetStatusAvailable + const PetStatusPending + const PetStatusSold + type PlaceOrderFormdataRequestBody = Order + type PlaceOrderJSONRequestBody = Order + 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 ServerInterface interface + AddPet func(w http.ResponseWriter, r *http.Request) + CreateUser func(w http.ResponseWriter, r *http.Request) + CreateUsersWithListInput func(w http.ResponseWriter, r *http.Request) + DeleteOrder func(w http.ResponseWriter, r *http.Request, orderId int64) + DeletePet func(w http.ResponseWriter, r *http.Request, petId int64, params DeletePetParams) + DeleteUser func(w http.ResponseWriter, r *http.Request, username string) + FindPetsByStatus func(w http.ResponseWriter, r *http.Request, params FindPetsByStatusParams) + FindPetsByTags func(w http.ResponseWriter, r *http.Request, params FindPetsByTagsParams) + GetInventory func(w http.ResponseWriter, r *http.Request) + GetOrderById func(w http.ResponseWriter, r *http.Request, orderId int64) + GetPetById func(w http.ResponseWriter, r *http.Request, petId int64) + GetUserByName func(w http.ResponseWriter, r *http.Request, username string) + LoginUser func(w http.ResponseWriter, r *http.Request, params LoginUserParams) + LogoutUser func(w http.ResponseWriter, r *http.Request) + PlaceOrder func(w http.ResponseWriter, r *http.Request) + UpdatePet func(w http.ResponseWriter, r *http.Request) + UpdatePetWithForm func(w http.ResponseWriter, r *http.Request, petId int64, ...) + UpdateUser func(w http.ResponseWriter, r *http.Request, username string) + UploadFile func(w http.ResponseWriter, r *http.Request, petId int64, params UploadFileParams) + type ServerInterfaceWrapper struct + ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error) + Handler ServerInterface + HandlerMiddlewares []MiddlewareFunc + func (siw *ServerInterfaceWrapper) AddPet(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) CreateUser(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) CreateUsersWithListInput(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) DeleteOrder(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) DeletePet(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) DeleteUser(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) FindPetsByStatus(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) FindPetsByTags(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) GetInventory(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) GetOrderById(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) GetPetById(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) GetUserByName(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) LoginUser(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) LogoutUser(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) PlaceOrder(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) UpdatePet(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) UpdatePetWithForm(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) UpdateUser(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) UploadFile(w http.ResponseWriter, r *http.Request) + type Tag struct + Id *int64 + Name *string + type TooManyValuesForParamError struct + Count int + ParamName string + func (e *TooManyValuesForParamError) Error() string + type UnescapedCookieParamError struct + Err error + ParamName string + func (e *UnescapedCookieParamError) Error() string + func (e *UnescapedCookieParamError) Unwrap() error + type Unimplemented struct + func (_ Unimplemented) AddPet(w http.ResponseWriter, r *http.Request) + func (_ Unimplemented) CreateUser(w http.ResponseWriter, r *http.Request) + func (_ Unimplemented) CreateUsersWithListInput(w http.ResponseWriter, r *http.Request) + func (_ Unimplemented) DeleteOrder(w http.ResponseWriter, r *http.Request, orderId int64) + func (_ Unimplemented) DeletePet(w http.ResponseWriter, r *http.Request, petId int64, params DeletePetParams) + func (_ Unimplemented) DeleteUser(w http.ResponseWriter, r *http.Request, username string) + func (_ Unimplemented) FindPetsByStatus(w http.ResponseWriter, r *http.Request, params FindPetsByStatusParams) + func (_ Unimplemented) FindPetsByTags(w http.ResponseWriter, r *http.Request, params FindPetsByTagsParams) + func (_ Unimplemented) GetInventory(w http.ResponseWriter, r *http.Request) + func (_ Unimplemented) GetOrderById(w http.ResponseWriter, r *http.Request, orderId int64) + func (_ Unimplemented) GetPetById(w http.ResponseWriter, r *http.Request, petId int64) + func (_ Unimplemented) GetUserByName(w http.ResponseWriter, r *http.Request, username string) + func (_ Unimplemented) LoginUser(w http.ResponseWriter, r *http.Request, params LoginUserParams) + func (_ Unimplemented) LogoutUser(w http.ResponseWriter, r *http.Request) + func (_ Unimplemented) PlaceOrder(w http.ResponseWriter, r *http.Request) + func (_ Unimplemented) UpdatePet(w http.ResponseWriter, r *http.Request) + func (_ Unimplemented) UpdatePetWithForm(w http.ResponseWriter, r *http.Request, petId int64, ...) + func (_ Unimplemented) UpdateUser(w http.ResponseWriter, r *http.Request, username string) + func (_ Unimplemented) UploadFile(w http.ResponseWriter, r *http.Request, petId int64, params UploadFileParams) + type UnmarshalingParamError struct + Err error + ParamName string + func (e *UnmarshalingParamError) Error() string + func (e *UnmarshalingParamError) Unwrap() error + type UpdatePetFormdataRequestBody = Pet + type UpdatePetJSONRequestBody = Pet + type UpdatePetWithFormParams struct + Name *string + Status *string + type UpdateUserFormdataRequestBody = User + type UpdateUserJSONRequestBody = User + type UploadFileParams struct + AdditionalMetadata *string + type User struct + Email *string + FirstName *string + Id *int64 + LastName *string + Password *string + Phone *string + UserStatus *int32 + Username *string