You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicecomb.apache.org by GitBox <gi...@apache.org> on 2018/02/23 06:57:59 UTC

[GitHub] asifdxtreme closed pull request #288: Update swagger.

asifdxtreme closed pull request #288: Update swagger.
URL: https://github.com/apache/incubator-servicecomb-service-center/pull/288
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/server/core/swagger/v3.yaml b/server/core/swagger/v3.yaml
index 9864ccae..068ba19d 100644
--- a/server/core/swagger/v3.yaml
+++ b/server/core/swagger/v3.yaml
@@ -69,7 +69,7 @@ paths:
         - name: noCache
           in: query
           description: ???????1 ??0 ??
-          type: string
+          type: integer
           default: 0
       tags:
         - microservices
@@ -134,7 +134,7 @@ paths:
         - name: noCache
           in: query
           description: ???????1 ??0 ??
-          type: string
+          type: integer
           default: 0
       responses:
         200:
@@ -293,7 +293,7 @@ paths:
         - name: noCache
           in: query
           description: ???????1 ??0 ??
-          type: string
+          type: integer
           default: 0
       tags:
         - microservices
@@ -441,7 +441,7 @@ paths:
         - name: noCache
           in: query
           description: ???????1 ??0 ??
-          type: string
+          type: integer
           default: 0
       tags:
         - microservices
@@ -562,7 +562,7 @@ paths:
         - name: noCache
           in: query
           description: ???????1 ??0 ??
-          type: string
+          type: integer
           default: 0
       tags:
         - microservices
@@ -710,7 +710,7 @@ paths:
         - name: withSchema
           in: query
           description: ????schema?0???summary?1????schema?
-          type: string
+          type: integer
           default: 0
       tags:
         - microservices
@@ -810,7 +810,7 @@ paths:
         - name: noCache
           in: query
           description: ???????1 ??0 ??
-          type: string
+          type: integer
           default: 0
       tags:
         - dependency
@@ -846,7 +846,7 @@ paths:
         - name: noCache
           in: query
           description: ???????1 ??0 ??
-          type: string
+          type: integer
           default: 0
       tags:
         - dependency
@@ -912,7 +912,7 @@ paths:
         - name: noCache
           in: query
           description: ???????1 ??0 ??
-          type: string
+          type: integer
           default: 0
       tags:
         - schemas
@@ -1002,7 +1002,7 @@ paths:
         - name: noCache
           in: query
           description: ???????1 ??0 ??
-          type: string
+          type: integer
           default: 0
       tags:
         - instances
@@ -1089,7 +1089,7 @@ paths:
         - name: noCache
           in: query
           description: ???????1 ??0 ??
-          type: string
+          type: integer
           default: 0
       tags:
         - instances
@@ -1291,7 +1291,7 @@ paths:
         - name: noCache
           in: query
           description: ???????1 ??0 ??
-          type: string
+          type: integer
           default: 0
       tags:
         - instances
diff --git a/server/core/swagger/v4.yaml b/server/core/swagger/v4.yaml
index d8b3f87f..c8638cc6 100644
--- a/server/core/swagger/v4.yaml
+++ b/server/core/swagger/v4.yaml
@@ -90,7 +90,7 @@ paths:
         - name: noCache
           in: query
           description: ???????1 ??0 ??
-          type: string
+          type: integer
           default: 0
       tags:
         - microservices
@@ -117,6 +117,10 @@ paths:
           required: true
           type: string
           default: default
+        - name: project
+          in: path
+          required: true
+          type: string
         - name: serviceId
           in: path
           description: ????????
@@ -158,7 +162,7 @@ paths:
         - name: noCache
           in: query
           description: ???????1 ??0 ??
-          type: string
+          type: integer
           default: 0
       responses:
         200:
@@ -183,6 +187,10 @@ paths:
           required: true
           type: string
           default: default
+        - name: project
+          in: path
+          required: true
+          type: string
         - name: service
           in: body
           description: ???????????
@@ -209,6 +217,10 @@ paths:
         ???????????????????????????????
       operationId: deleteServices
       parameters:
+        - name: project
+          in: path
+          required: true
+          type: string
         - name: serviceIds
           in: body
           description: ?????????ID??
@@ -315,6 +327,10 @@ paths:
           required: true
           type: string
           default: default
+        - name: project
+          in: path
+          required: true
+          type: string
         - name: serviceId
           in: path
           description: ????????
@@ -323,7 +339,7 @@ paths:
         - name: noCache
           in: query
           description: ???????1 ??0 ??
-          type: string
+          type: integer
           default: 0
       tags:
         - microservices
@@ -394,6 +410,10 @@ paths:
           required: true
           type: string
           default: default
+        - name: project
+          in: path
+          required: true
+          type: string
         - name: serviceId
           in: path
           description: ????????
@@ -469,6 +489,10 @@ paths:
           required: true
           type: string
           default: default
+        - name: project
+          in: path
+          required: true
+          type: string
         - name: serviceId
           in: path
           description: ????????
@@ -477,7 +501,7 @@ paths:
         - name: noCache
           in: query
           description: ???????1 ??0 ??
-          type: string
+          type: integer
           default: 0
       tags:
         - microservices
@@ -551,6 +575,10 @@ paths:
           required: true
           type: string
           default: default
+        - name: project
+          in: path
+          required: true
+          type: string
         - name: serviceId
           in: path
           description: ????????
@@ -604,7 +632,7 @@ paths:
         - name: noCache
           in: query
           description: ???????1 ??0 ??
-          type: string
+          type: integer
           default: 0
       tags:
         - microservices
@@ -635,6 +663,10 @@ paths:
           required: true
           type: string
           default: default
+        - name: project
+          in: path
+          required: true
+          type: string
         - name: serviceId
           in: path
           description: ????????
@@ -675,6 +707,10 @@ paths:
           required: true
           type: string
           default: default
+        - name: project
+          in: path
+          required: true
+          type: string
         - name: serviceId
           in: path
           description: ????????
@@ -759,7 +795,7 @@ paths:
         - name: withSchema
           in: query
           description: ????schema?0???summary?1????schema?
-          type: string
+          type: integer
           default: 0
       tags:
         - microservices
@@ -868,7 +904,7 @@ paths:
         - name: noCache
           in: query
           description: ???????1 ??0 ??
-          type: string
+          type: integer
           default: 0
       tags:
         - dependency
@@ -907,7 +943,7 @@ paths:
         - name: noCache
           in: query
           description: ???????1 ??0 ??
-          type: string
+          type: integer
           default: 0
       tags:
         - dependency
@@ -976,7 +1012,7 @@ paths:
         - name: noCache
           in: query
           description: ???????1 ??0 ??
-          type: string
+          type: integer
           default: 0
       tags:
         - schemas
@@ -1048,6 +1084,10 @@ paths:
           required: true
           type: string
           default: default
+        - name: project
+          in: path
+          required: true
+          type: string
         - name: X-ConsumerId
           in: header
           description: ???????????????
@@ -1069,7 +1109,7 @@ paths:
         - name: noCache
           in: query
           description: ???????1 ??0 ??
-          type: string
+          type: integer
           default: 0
       tags:
         - instances
@@ -1138,6 +1178,10 @@ paths:
           description: ???????????????
           required: true
           type: string
+        - name: project
+          in: path
+          required: true
+          type: string
         - name: serviceId
           in: path
           description: ????????
@@ -1159,7 +1203,7 @@ paths:
         - name: noCache
           in: query
           description: ???????1 ??0 ??
-          type: string
+          type: integer
           default: 0
       tags:
         - instances
@@ -1376,7 +1420,7 @@ paths:
         - name: noCache
           in: query
           description: ???????1 ??0 ??
-          type: string
+          type: integer
           default: 0
       tags:
         - instances
@@ -2124,13 +2168,11 @@ definitions:
      type: object
      properties:
         service:
-         description: ??????
          $ref: "#/definitions/ServiceDetail"
   ServiceDetail:
      type: object
      properties:
        microservice:
-         description: ??????
          $ref: "#/definitions/MicroService"
        instances:
          type: array
@@ -2171,11 +2213,10 @@ definitions:
      type: object
      properties:
        nodes:
-         description: ????????
          $ref: "#/definitions/Nodes"
   Nodes:
      type: array
-     description: ????
+     description: ????????
      items:
        $ref: "#/definitions/Node"
   Node:
@@ -2216,20 +2257,16 @@ definitions:
          items:
            $ref: "#/definitions/ServiceDetail"
        statistics:
-         description: ???????????????????????????????
-         type: object
          $ref: "#/definitions/Statistics"
   Statistics:
      type: object
+     description: ???????????????????????????????
      properties:
        services:
-         description: ?????
          $ref: "#/definitions/StService"
        instances:
-         description: ????
          $ref: "#/definitions/StInstance"
        apps:
-         description: ????
          $ref: "#/definitions/StApp"
   StService:
      type: object


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services