Ver Fonte

Update path in swagger.json (#2893)

Signed-off-by: 张庚昕 <wuminorb@gmail.com>
Co-authored-by: Ajay Tripathy <ajay@kubecost.com>
Co-authored-by: Cliff Colvin <ccolvin@kubecost.com>
张庚昕 há 1 ano atrás
pai
commit
094c7b0587
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      docs/swagger.json

+ 1 - 1
docs/swagger.json

@@ -16,7 +16,7 @@
   }
   }
   ],
   ],
   "paths": {
   "paths": {
-    "/allocation/compute": {
+    "/allocation": {
       "get": {
       "get": {
         "summary": "query for costs and resources allocated to Kubernetes workloads",
         "summary": "query for costs and resources allocated to Kubernetes workloads",
         "description": "The standard OpenCost API query for costs and resources allocated to Kubernetes workloads. You may specify the `window` date range, the Kubernetes primitive to `aggregate` on, the `step` for the duration of returned sets, and the `resolution` for the duration to use for Prometheus queries.",
         "description": "The standard OpenCost API query for costs and resources allocated to Kubernetes workloads. You may specify the `window` date range, the Kubernetes primitive to `aggregate` on, the `step` for the duration of returned sets, and the `resolution` for the duration to use for Prometheus queries.",