]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: fix openapi tox error
authorPedro Gonzalez Gomez <pegonzal@redhat.com>
Thu, 29 Sep 2022 07:22:13 +0000 (09:22 +0200)
committerPedro Gonzalez Gomez <pegonzal@redhat.com>
Tue, 20 Dec 2022 07:30:14 +0000 (08:30 +0100)
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
src/pybind/mgr/dashboard/openapi.yaml

index d86899c9c53d3423a9a99d320b2660ed0fccb5f1..9a41690d71b12ba640e68cc20503b465c517a9ee 100644 (file)
@@ -2145,6 +2145,28 @@ paths:
       summary: Update the cluster status
       tags:
       - Cluster
+  /api/cluster/capacity:
+    get:
+      parameters: []
+      responses:
+        '200':
+          content:
+            application/vnd.ceph.api.v1.0+json:
+              type: object
+          description: OK
+        '400':
+          description: Operation exception. Please check the response body for details.
+        '401':
+          description: Unauthenticated access. Please login first.
+        '403':
+          description: Unauthorized access. Please check your permissions.
+        '500':
+          description: Unexpected error. Please check the response body for the stack
+            trace.
+      security:
+      - jwt: []
+      tags:
+      - Cluster
   /api/cluster/user:
     get:
       parameters: []
@@ -2168,28 +2190,6 @@ paths:
       summary: Get Ceph Users
       tags:
       - Cluster
-  /api/cluster/capacity:
-     get:
-       parameters: []
-       responses:
-         '200':
-           content:
-             application/vnd.ceph.api.v1.0+json:
-               type: object
-           description: OK
-         '400':
-           description: Operation exception. Please check the response body for details.
-         '401':
-           description: Unauthenticated access. Please login first.
-         '403':
-           description: Unauthorized access. Please check your permissions.
-         '500':
-           description: Unexpected error. Please check the response body for the stack
-             trace.
-       security:
-       - jwt: []
-       tags:
-       - Cluster
   /api/cluster_conf:
     get:
       parameters: []