func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler {
	wrapper := ServerInterfaceWrapper{
		Handler: si,
	}

	r.Group(func(r chi.Router) {
		r.Get("/pets", wrapper.FindPets)
	})
	r.Group(func(r chi.Router) {
		r.Post("/pets", wrapper.AddPet)
	})
	r.Group(func(r chi.Router) {
		r.Delete("/pets/{id}", wrapper.DeletePet)
	})
	r.Group(func(r chi.Router) {
		r.Get("/pets/{id}", wrapper.FindPetById)
	})

	return r
}
// HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.
HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.
// HandlerFromMux creates http . Handler with routing matching OpenAPI spec based on the provided mux .
func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler {
	wrapper := ServerInterfaceWrapper{
		Handler: si,
	}
	r.Group(func(r chi.Router) {
		r.Get("/pets", wrapper.FindPets)
	})
	r.Group(func(r chi.Router) {
		r.Post("/pets", wrapper.AddPet)
	})
	r.Group(func(r chi.Router) {
		r.Delete("/pets/{id}", wrapper.DeletePet)
	})
	r.Group(func(r chi.Router) {
		r.Get("/pets/{id}", wrapper.FindPetById)
	})
	return r
}
func HandlerFromMux ( si ServerInterface , r chi . Router ) http . Handler { wrapper := ServerInterfaceWrapper { Handler : si , } r . Group ( func ( r chi . Router ) { r . Get ( " " , wrapper . FindPets ) } ) r . Group ( func ( r chi . Router ) { r . Post ( " " , wrapper . AddPet ) } ) r . Group ( func ( r chi . Router ) { r . Delete ( " " , wrapper . DeletePet ) } ) r . Group ( func ( r chi . Router ) { r . Get ( " " , wrapper . FindPetById ) } ) return r }
HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.
HandlerFromMux creates http . Handler with routing matching OpenAPI spec based on the provided mux .