Changed spec, URL parameters specified by curly brackets instead of colon

This commit is contained in:
Héctor Hurtado
2019-08-23 13:24:31 +02:00
parent b38023a033
commit 2b35a1fbfe
+4 -4
View File
@@ -325,9 +325,9 @@ A new id is created for the appended route so it can be referenced later.
#### Delete a route
Removes the route identified by `:id`.
Removes the route identified by `{id}`.
* **URL**: `/routes/:id`
* **URL**: `/routes/{id}`
* **Method**: `DELETE`
* **Success Responses**:
* **Code**: `204 No Content`
@@ -342,9 +342,9 @@ Removes the route identified by `:id`.
#### Retrieve route information
Retrieves the information about the route identified by `:id`.
Retrieves the information about the route identified by `{id}`.
* **URL**: `/routes/:id`
* **URL**: `/routes/{id}`
* **Method**: `GET`
* **Success Responses**:
* **Code**: `200 OK`<br />