Add missing ServiceReplaceResponse to service.go docs
@@ -91,6 +91,12 @@ type ServiceCreateParam struct {
Service models.ServiceCreateRequest
}
+// swagger:response ServiceCreateResponse
+type ServiceCreateResponse struct {
+ // in: body
+ Body models.Response
+}
+
// swagger:route PATCH /namespaces/{Namespace}/services/{Service} service ServiceUpdate
// Update the named `Service` in the `Namespace` as per the instructions in the body
// responses:
@@ -106,6 +112,12 @@ type ServiceUpdateParam struct {
Body models.ServiceUpdateRequest
}
+// swagger:response ServiceUpdateResponse
+type ServiceUpdateResponse struct {
+ // in: body
+ Body models.Response
+}
+
// swagger:route PUT /namespaces/{Namespace}/services/{Service} service ServiceReplace
// Replace the named `Service` in the `Namespace` as per the instructions in the body
// responses:
@@ -121,14 +133,8 @@ type ServiceReplaceParam struct {
Body models.ServiceReplaceRequest
}
-// swagger:response ServiceUpdateResponse
-type ServiceUpdateResponse struct {
- // in: body
- Body models.Response
-}
-
-// swagger:response ServiceCreateResponse
-type ServiceCreateResponse struct {
+// swagger:response ServiceReplaceResponse
+type ServiceReplaceResponse struct {
// in: body
Body models.Response
}
