Codebase list golang-github-go-kit-kit / 197a9a4
Fix profilesvc path description Jean-Yves Gastaud 7 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
3333 httptransport.ServerErrorEncoder(encodeError),
3434 }
3535
36 // POST /profiles adds another profile
36 // POST /profiles/ adds another profile
3737 // GET /profiles/:id retrieves the given profile by id
3838 // PUT /profiles/:id post updated profile information about the profile
3939 // PATCH /profiles/:id partial updated profile information
4040 // DELETE /profiles/:id remove the given profile
41 // GET /profiles/:id/addresses retrieve addresses associated with the profile
41 // GET /profiles/:id/addresses/ retrieve addresses associated with the profile
4242 // GET /profiles/:id/addresses/:addressID retrieve a particular profile address
43 // POST /profiles/:id/addresses add a new address
43 // POST /profiles/:id/addresses/ add a new address
4444 // DELETE /profiles/:id/addresses/:addressID remove an address
4545
4646 r.Methods("POST").Path("/profiles/").Handler(httptransport.NewServer(