Fix documented API annotation
This commit is contained in:
@@ -78,15 +78,15 @@ func (r *Router) GetHandler() http.Handler {
|
||||
//
|
||||
// - Retrieve all superheroes with encrypted identities:
|
||||
//
|
||||
// GET /superheroes?encode=deesee
|
||||
// GET /superheroes?encrypted=true
|
||||
//
|
||||
// - Retrieve superheroes that match given superpower(s)
|
||||
//
|
||||
// GET /superheroes?powers=flight,super-strength
|
||||
// GET /superheroes?superpowers=flight,super-strength
|
||||
//
|
||||
// - Retrieve superheroes that match given superpower(s) with encrypted identities
|
||||
//
|
||||
// GET /superheroes?powers=flight,super-strength&encode=deesee
|
||||
// GET /superheroes?superpowers=flight,super-strength&encrypted=true
|
||||
func (r *Router) GetSuperHeroes(w http.ResponseWriter, req *http.Request) {
|
||||
var (
|
||||
// Resulting
|
||||
|
||||
Reference in New Issue
Block a user