Fix profilesvc path description
Jean-Yves Gastaud
7 years ago
33 | 33 | httptransport.ServerErrorEncoder(encodeError), |
34 | 34 | } |
35 | 35 | |
36 | // POST /profiles adds another profile | |
36 | // POST /profiles/ adds another profile | |
37 | 37 | // GET /profiles/:id retrieves the given profile by id |
38 | 38 | // PUT /profiles/:id post updated profile information about the profile |
39 | 39 | // PATCH /profiles/:id partial updated profile information |
40 | 40 | // 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 | |
42 | 42 | // 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 | |
44 | 44 | // DELETE /profiles/:id/addresses/:addressID remove an address |
45 | 45 | |
46 | 46 | r.Methods("POST").Path("/profiles/").Handler(httptransport.NewServer( |