(w http.ResponseWriter, r *http.Request)
| 24 | ) |
| 25 | |
| 26 | func DescribeAPI(w http.ResponseWriter, r *http.Request) { |
| 27 | apiName := mux.Vars(r)["apiName"] |
| 28 | |
| 29 | response, err := resources.DescribeAPI(apiName) |
| 30 | if err != nil { |
| 31 | respondError(w, r, err) |
| 32 | return |
| 33 | } |
| 34 | |
| 35 | respondJSON(w, r, response) |
| 36 | } |
nothing calls this directly
no test coverage detected