소스 검색

Merge pull request #38040 from cpuguy83/document_service_version

Add more API doc details on service update version.
Brian Goff 6 년 전
부모
커밋
5271c7cb48
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      api/swagger.yaml

+ 4 - 1
api/swagger.yaml

@@ -9360,7 +9360,10 @@ paths:
 
         - name: "version"
           in: "query"
-          description: "The version number of the service object being updated. This is required to avoid conflicting writes."
+          description: "The version number of the service object being updated.
+          This is required to avoid conflicting writes.
+          This version number should be the value as currently set on the service *before* the update.
+          You can find the current version by calling `GET /services/{id}`"
           required: true
           type: "integer"
         - name: "registryAuthFrom"