@konsumation/openapi
Advanced tools
+276
-63
@@ -10,3 +10,3 @@ { | ||
| "title": "Collect resource usage in a home environment", | ||
| "version": "2.3.9", | ||
| "version": "2.3.10", | ||
| "license": { | ||
@@ -36,3 +36,10 @@ "name": "MIT", | ||
| "401": { | ||
| "description": "Unauthorized Request" | ||
| "description": "Unauthorized Request", | ||
| "content": { | ||
| "text/plain": { | ||
| "schema": { | ||
| "$ref": "#/components/schemas/UnauthorizedErrorMessage" | ||
| } | ||
| } | ||
| } | ||
| } | ||
@@ -42,3 +49,3 @@ }, | ||
| { | ||
| "konsum_auth": ["konsum.admin.token"] | ||
| "konsumAuth": ["konsum.admin.token"] | ||
| } | ||
@@ -66,3 +73,10 @@ ] | ||
| "401": { | ||
| "description": "Unauthorized Request" | ||
| "description": "Unauthorized Request", | ||
| "content": { | ||
| "text/plain": { | ||
| "schema": { | ||
| "$ref": "#/components/schemas/UnauthorizedErrorMessage" | ||
| } | ||
| } | ||
| } | ||
| } | ||
@@ -72,3 +86,3 @@ }, | ||
| { | ||
| "konsum_auth": ["konsum.admin.stop"] | ||
| "konsumAuth": ["konsum.admin.stop"] | ||
| } | ||
@@ -96,3 +110,10 @@ ] | ||
| "401": { | ||
| "description": "Unauthorized Request" | ||
| "description": "Unauthorized Request", | ||
| "content": { | ||
| "text/plain": { | ||
| "schema": { | ||
| "$ref": "#/components/schemas/UnauthorizedErrorMessage" | ||
| } | ||
| } | ||
| } | ||
| } | ||
@@ -102,3 +123,3 @@ }, | ||
| { | ||
| "konsum_auth": ["konsum.admin.reload"] | ||
| "konsumAuth": ["konsum.admin.reload"] | ||
| } | ||
@@ -126,3 +147,10 @@ ] | ||
| "401": { | ||
| "description": "Unauthorized Request" | ||
| "description": "Unauthorized Request", | ||
| "content": { | ||
| "text/plain": { | ||
| "schema": { | ||
| "$ref": "#/components/schemas/UnauthorizedErrorMessage" | ||
| } | ||
| } | ||
| } | ||
| } | ||
@@ -132,3 +160,3 @@ }, | ||
| { | ||
| "konsum_auth": ["konsum.admin.backup"] | ||
| "konsumAuth": ["konsum.admin.backup"] | ||
| } | ||
@@ -154,3 +182,10 @@ ] | ||
| "401": { | ||
| "description": "Unauthorized Request" | ||
| "description": "Unauthorized Request", | ||
| "content": { | ||
| "text/plain": { | ||
| "schema": { | ||
| "$ref": "#/components/schemas/UnauthorizedErrorMessage" | ||
| } | ||
| } | ||
| } | ||
| } | ||
@@ -160,3 +195,3 @@ }, | ||
| { | ||
| "konsum_auth": ["konsum.admin.backup"] | ||
| "konsumAuth": ["konsum.admin.backup"] | ||
| } | ||
@@ -253,3 +288,10 @@ ] | ||
| "401": { | ||
| "description": "Unauthorized Request" | ||
| "description": "Unauthorized Request", | ||
| "content": { | ||
| "text/plain": { | ||
| "schema": { | ||
| "$ref": "#/components/schemas/UnauthorizedErrorMessage" | ||
| } | ||
| } | ||
| } | ||
| } | ||
@@ -259,3 +301,3 @@ }, | ||
| { | ||
| "konsum_auth": ["konsum.category"] | ||
| "konsumAuth": ["konsum.category"] | ||
| } | ||
@@ -292,3 +334,10 @@ ] | ||
| "401": { | ||
| "description": "Unauthorized Request" | ||
| "description": "Unauthorized Request", | ||
| "content": { | ||
| "text/plain": { | ||
| "schema": { | ||
| "$ref": "#/components/schemas/UnauthorizedErrorMessage" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
@@ -308,3 +357,3 @@ "404": { | ||
| { | ||
| "konsum_auth": ["konsum.category"] | ||
| "konsumAuth": ["konsum.category"] | ||
| } | ||
@@ -343,3 +392,10 @@ ] | ||
| "401": { | ||
| "description": "Unauthorized Request" | ||
| "description": "Unauthorized Request", | ||
| "content": { | ||
| "text/plain": { | ||
| "schema": { | ||
| "$ref": "#/components/schemas/UnauthorizedErrorMessage" | ||
| } | ||
| } | ||
| } | ||
| } | ||
@@ -349,3 +405,3 @@ }, | ||
| { | ||
| "konsum_auth": ["konsum.category.add"] | ||
| "konsumAuth": ["konsum.category.add"] | ||
| } | ||
@@ -384,3 +440,10 @@ ] | ||
| "401": { | ||
| "description": "Unauthorized Request" | ||
| "description": "Unauthorized Request", | ||
| "content": { | ||
| "text/plain": { | ||
| "schema": { | ||
| "$ref": "#/components/schemas/UnauthorizedErrorMessage" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
@@ -400,3 +463,3 @@ "404": { | ||
| { | ||
| "konsum_auth": ["konsum.note.modify"] | ||
| "konsumAuth": ["konsum.note.modify"] | ||
| } | ||
@@ -425,3 +488,10 @@ ] | ||
| "401": { | ||
| "description": "Unauthorized Request" | ||
| "description": "Unauthorized Request", | ||
| "content": { | ||
| "text/plain": { | ||
| "schema": { | ||
| "$ref": "#/components/schemas/UnauthorizedErrorMessage" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
@@ -441,3 +511,3 @@ "404": { | ||
| { | ||
| "konsum_auth": ["konsum.category.delete"] | ||
| "konsumAuth": ["konsum.category.delete"] | ||
| } | ||
@@ -496,3 +566,10 @@ ] | ||
| "401": { | ||
| "description": "Unauthorized Request" | ||
| "description": "Unauthorized Request", | ||
| "content": { | ||
| "text/plain": { | ||
| "schema": { | ||
| "$ref": "#/components/schemas/UnauthorizedErrorMessage" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
@@ -522,3 +599,3 @@ "404": { | ||
| { | ||
| "konsum_auth": ["konsum.value"] | ||
| "konsumAuth": ["konsum.value"] | ||
| } | ||
@@ -582,3 +659,10 @@ ] | ||
| "401": { | ||
| "description": "Unauthorized Request" | ||
| "description": "Unauthorized Request", | ||
| "content": { | ||
| "text/plain": { | ||
| "schema": { | ||
| "$ref": "#/components/schemas/UnauthorizedErrorMessage" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
@@ -608,3 +692,3 @@ "404": { | ||
| { | ||
| "konsum_auth": ["konsum.value"] | ||
| "konsumAuth": ["konsum.value"] | ||
| } | ||
@@ -641,3 +725,10 @@ ] | ||
| "401": { | ||
| "description": "Unauthorized Request" | ||
| "description": "Unauthorized Request", | ||
| "content": { | ||
| "text/plain": { | ||
| "schema": { | ||
| "$ref": "#/components/schemas/UnauthorizedErrorMessage" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
@@ -657,3 +748,3 @@ "404": { | ||
| { | ||
| "konsum_auth": ["konsum.value.add"] | ||
| "konsumAuth": ["konsum.value.add"] | ||
| } | ||
@@ -680,3 +771,10 @@ ] | ||
| "401": { | ||
| "description": "Unauthorized Request" | ||
| "description": "Unauthorized Request", | ||
| "content": { | ||
| "text/plain": { | ||
| "schema": { | ||
| "$ref": "#/components/schemas/UnauthorizedErrorMessage" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
@@ -696,3 +794,3 @@ "404": { | ||
| { | ||
| "konsum_auth": ["konsum.value.delete"] | ||
| "konsumAuth": ["konsum.value.delete"] | ||
| } | ||
@@ -733,3 +831,10 @@ ] | ||
| "401": { | ||
| "description": "Unauthorized Request" | ||
| "description": "Unauthorized Request", | ||
| "content": { | ||
| "text/plain": { | ||
| "schema": { | ||
| "$ref": "#/components/schemas/UnauthorizedErrorMessage" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
@@ -749,3 +854,3 @@ "404": { | ||
| { | ||
| "konsum_auth": ["konsum.note"] | ||
| "konsumAuth": ["konsum.note"] | ||
| } | ||
@@ -791,3 +896,10 @@ ] | ||
| "401": { | ||
| "description": "Unauthorized Request" | ||
| "description": "Unauthorized Request", | ||
| "content": { | ||
| "text/plain": { | ||
| "schema": { | ||
| "$ref": "#/components/schemas/UnauthorizedErrorMessage" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
@@ -807,3 +919,3 @@ "404": { | ||
| { | ||
| "konsum_auth": ["konsum.note"] | ||
| "konsumAuth": ["konsum.note"] | ||
| } | ||
@@ -839,3 +951,10 @@ ] | ||
| "401": { | ||
| "description": "Unauthorized Request" | ||
| "description": "Unauthorized Request", | ||
| "content": { | ||
| "text/plain": { | ||
| "schema": { | ||
| "$ref": "#/components/schemas/UnauthorizedErrorMessage" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
@@ -855,3 +974,3 @@ "404": { | ||
| { | ||
| "konsum_auth": ["konsum.note.add"] | ||
| "konsumAuth": ["konsum.note.add"] | ||
| } | ||
@@ -887,3 +1006,10 @@ ] | ||
| "401": { | ||
| "description": "Unauthorized Request" | ||
| "description": "Unauthorized Request", | ||
| "content": { | ||
| "text/plain": { | ||
| "schema": { | ||
| "$ref": "#/components/schemas/UnauthorizedErrorMessage" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
@@ -903,3 +1029,3 @@ "404": { | ||
| { | ||
| "konsum_auth": ["konsum.note.modify"] | ||
| "konsumAuth": ["konsum.note.modify"] | ||
| } | ||
@@ -940,3 +1066,3 @@ ] | ||
| { | ||
| "konsum_auth": ["konsum.note.delete"] | ||
| "konsumAuth": ["konsum.note.delete"] | ||
| } | ||
@@ -977,3 +1103,10 @@ ] | ||
| "401": { | ||
| "description": "Unauthorized Request" | ||
| "description": "Unauthorized Request", | ||
| "content": { | ||
| "text/plain": { | ||
| "schema": { | ||
| "$ref": "#/components/schemas/UnauthorizedErrorMessage" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
@@ -993,3 +1126,3 @@ "404": { | ||
| { | ||
| "konsum_auth": ["konsum.meter"] | ||
| "konsumAuth": ["konsum.meter"] | ||
| } | ||
@@ -1046,3 +1179,10 @@ ] | ||
| "401": { | ||
| "description": "Unauthorized Request" | ||
| "description": "Unauthorized Request", | ||
| "content": { | ||
| "text/plain": { | ||
| "schema": { | ||
| "$ref": "#/components/schemas/UnauthorizedErrorMessage" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
@@ -1062,3 +1202,3 @@ "404": { | ||
| { | ||
| "konsum_auth": ["konsum.meter.add"] | ||
| "konsumAuth": ["konsum.meter.add"] | ||
| } | ||
@@ -1095,3 +1235,10 @@ ] | ||
| "401": { | ||
| "description": "Unauthorized Request" | ||
| "description": "Unauthorized Request", | ||
| "content": { | ||
| "text/plain": { | ||
| "schema": { | ||
| "$ref": "#/components/schemas/UnauthorizedErrorMessage" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
@@ -1111,3 +1258,3 @@ "404": { | ||
| { | ||
| "konsum_auth": ["konsum.meter.modify"] | ||
| "konsumAuth": ["konsum.meter.modify"] | ||
| } | ||
@@ -1134,3 +1281,10 @@ ] | ||
| "401": { | ||
| "description": "Unauthorized Request" | ||
| "description": "Unauthorized Request", | ||
| "content": { | ||
| "text/plain": { | ||
| "schema": { | ||
| "$ref": "#/components/schemas/UnauthorizedErrorMessage" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
@@ -1150,3 +1304,3 @@ "404": { | ||
| { | ||
| "konsum_auth": ["konsum.meter.delete"] | ||
| "konsumAuth": ["konsum.meter.delete"] | ||
| } | ||
@@ -1213,3 +1367,10 @@ ] | ||
| "401": { | ||
| "description": "Unauthorized Request" | ||
| "description": "Unauthorized Request", | ||
| "content": { | ||
| "text/plain": { | ||
| "schema": { | ||
| "$ref": "#/components/schemas/UnauthorizedErrorMessage" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
@@ -1239,3 +1400,3 @@ "404": { | ||
| { | ||
| "konsum_auth": ["konsum.value"] | ||
| "konsumAuth": ["konsum.value"] | ||
| } | ||
@@ -1307,3 +1468,10 @@ ] | ||
| "401": { | ||
| "description": "Unauthorized Request" | ||
| "description": "Unauthorized Request", | ||
| "content": { | ||
| "text/plain": { | ||
| "schema": { | ||
| "$ref": "#/components/schemas/UnauthorizedErrorMessage" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
@@ -1333,3 +1501,3 @@ "404": { | ||
| { | ||
| "konsum_auth": ["konsum.value"] | ||
| "konsumAuth": ["konsum.value"] | ||
| } | ||
@@ -1366,3 +1534,10 @@ ] | ||
| "401": { | ||
| "description": "Unauthorized Request" | ||
| "description": "Unauthorized Request", | ||
| "content": { | ||
| "text/plain": { | ||
| "schema": { | ||
| "$ref": "#/components/schemas/UnauthorizedErrorMessage" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
@@ -1382,3 +1557,3 @@ "404": { | ||
| { | ||
| "konsum_auth": ["konsum.value.add"] | ||
| "konsumAuth": ["konsum.value.add"] | ||
| } | ||
@@ -1405,3 +1580,10 @@ ] | ||
| "401": { | ||
| "description": "Unauthorized Request" | ||
| "description": "Unauthorized Request", | ||
| "content": { | ||
| "text/plain": { | ||
| "schema": { | ||
| "$ref": "#/components/schemas/UnauthorizedErrorMessage" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
@@ -1421,3 +1603,3 @@ "404": { | ||
| { | ||
| "konsum_auth": ["konsum.value.delete"] | ||
| "konsumAuth": ["konsum.value.delete"] | ||
| } | ||
@@ -1466,3 +1648,10 @@ ] | ||
| "401": { | ||
| "description": "Unauthorized Request" | ||
| "description": "Unauthorized Request", | ||
| "content": { | ||
| "text/plain": { | ||
| "schema": { | ||
| "$ref": "#/components/schemas/UnauthorizedErrorMessage" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
@@ -1482,3 +1671,3 @@ "404": { | ||
| { | ||
| "konsum_auth": ["konsum.note"] | ||
| "konsumAuth": ["konsum.note"] | ||
| } | ||
@@ -1542,3 +1731,10 @@ ] | ||
| "401": { | ||
| "description": "Unauthorized Request" | ||
| "description": "Unauthorized Request", | ||
| "content": { | ||
| "text/plain": { | ||
| "schema": { | ||
| "$ref": "#/components/schemas/UnauthorizedErrorMessage" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
@@ -1558,3 +1754,3 @@ "404": { | ||
| { | ||
| "konsum_auth": ["konsum.note.add"] | ||
| "konsumAuth": ["konsum.note.add"] | ||
| } | ||
@@ -1590,3 +1786,10 @@ ] | ||
| "401": { | ||
| "description": "Unauthorized Request" | ||
| "description": "Unauthorized Request", | ||
| "content": { | ||
| "text/plain": { | ||
| "schema": { | ||
| "$ref": "#/components/schemas/UnauthorizedErrorMessage" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
@@ -1606,3 +1809,3 @@ "404": { | ||
| { | ||
| "konsum_auth": ["konsum.note.modify"] | ||
| "konsumAuth": ["konsum.note.modify"] | ||
| } | ||
@@ -1628,3 +1831,10 @@ ] | ||
| "401": { | ||
| "description": "Unauthorized Request" | ||
| "description": "Unauthorized Request", | ||
| "content": { | ||
| "text/plain": { | ||
| "schema": { | ||
| "$ref": "#/components/schemas/UnauthorizedErrorMessage" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
@@ -1644,3 +1854,3 @@ "404": { | ||
| { | ||
| "konsum_auth": ["konsum.note.delete"] | ||
| "konsumAuth": ["konsum.note.delete"] | ||
| } | ||
@@ -1653,3 +1863,3 @@ ] | ||
| "securitySchemes": { | ||
| "konsum_auth": { | ||
| "konsumAuth": { | ||
| "type": "http", | ||
@@ -1849,2 +2059,5 @@ "scheme": "bearer", | ||
| }, | ||
| "UnauthorizedErrorMessage": { | ||
| "type": "string" | ||
| }, | ||
| "NoSuchCategoryMessage": { | ||
@@ -1851,0 +2064,0 @@ "type": "string" |
+2
-2
| { | ||
| "name": "@konsumation/openapi", | ||
| "version": "2.3.9", | ||
| "version": "2.3.10", | ||
| "publishConfig": { | ||
@@ -29,3 +29,3 @@ "access": "public", | ||
| "devDependencies": { | ||
| "@redocly/cli": "^1.11.0", | ||
| "@redocly/cli": "^1.12.0", | ||
| "@semantic-release/commit-analyzer": "^12.0.0", | ||
@@ -32,0 +32,0 @@ "@semantic-release/release-notes-generator": "^13.0.0", |
58051
12%2023
11.77%