You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by mi...@apache.org on 2018/03/27 19:23:20 UTC
[incubator-trafficcontrol] 02/02: added more metatags for producing
the summary
This is an automated email from the ASF dual-hosted git repository.
mitchell852 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-trafficcontrol.git
commit 9371d1166621d6cf79e0713ff850787aa0a6cf14
Author: Dewayne Richardson <de...@apache.org>
AuthorDate: Fri Mar 23 14:12:15 2018 -0600
added more metatags for producing the summary
---
.../traffic_ops_golang/swaggerdocs/v13/divisions.go | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
diff --git a/traffic_ops/traffic_ops_golang/swaggerdocs/v13/divisions.go b/traffic_ops/traffic_ops_golang/swaggerdocs/v13/divisions.go
index 23e9e8f..0414c17 100644
--- a/traffic_ops/traffic_ops_golang/swaggerdocs/v13/divisions.go
+++ b/traffic_ops/traffic_ops_golang/swaggerdocs/v13/divisions.go
@@ -54,7 +54,7 @@ type DivisionQueryParams struct {
//
ID string `json:"id"`
- //
+ // The field in the response to sort the response by
//
Orderby string `json:"orderby"`
}
@@ -80,6 +80,8 @@ type DivisionPathParams struct {
//
// Create a Division
//
+// A Division is a group of regions
+//
// Responses:
// 200: Alerts
func PostDivision(entity DivisionPostParam) (Division, Alerts) {
@@ -90,6 +92,8 @@ func PostDivision(entity DivisionPostParam) (Division, Alerts) {
//
// Retrieve a list of Divisions
//
+// List of Divisions
+//
// Responses:
// 200: Divisions
// 400: Alerts
@@ -113,7 +117,9 @@ type DivisionPutParam struct {
// PutDivision swagger:route PUT /divisions/{id} Division PutDivision
//
-// Update a Division
+// Update a Division by Id
+//
+// Update a single Division
//
// Responses:
// 200: Division
@@ -123,7 +129,9 @@ func PutDivision(entity DivisionPutParam) (Division, Alerts) {
// GetDivisionById swagger:route GET /divisions/{id} Division GetDivisionById
//
-// Retrieve a specific Division
+// Retrieve a specific Division by Id
+//
+// Retrieve a single division
//
// Responses:
// 200: Divisions
@@ -134,7 +142,9 @@ func GetDivisionById() (Divisions, Alerts) {
// DeleteDivision swagger:route DELETE /divisions/{id} Division DeleteDivision
//
-// Delete a Division
+// Delete a Division by Id
+//
+// Delete a single Division
//
// Responses:
// 200: Alerts
--
To stop receiving notification emails like this one, please contact
mitchell852@apache.org.