Sfoglia il codice sorgente

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>
张庚昕 1 anno fa
parent
commit
094c7b0587
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      docs/swagger.json

+ 1 - 1
docs/swagger.json

@@ -16,7 +16,7 @@
   }
   ],
   "paths": {
-    "/allocation/compute": {
+    "/allocation": {
       "get": {
         "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.",