Skip to content

Commit

Permalink
chore(oapi): again tried fixing examples
Browse files Browse the repository at this point in the history
Signed-off-by: slonka <[email protected]>
  • Loading branch information
slonka committed Jan 9, 2025
1 parent d78ec69 commit 7e4a0ef
Show file tree
Hide file tree
Showing 2 changed files with 102 additions and 40 deletions.
71 changes: 51 additions & 20 deletions api/openapi/specs/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -499,11 +499,25 @@ components:
createdAt: '2023-01-11T02:30:42.227Z'
services:
total: 5
internal: 4
external: 1
gatewayBuiltin: 1
gatewayProvided: 2
internal:
total: 4
online: 2
offline: 1
partiallyDegraded: 1
external:
total: 1
gatewayDelegated:
total: 4
online: 2
offline: 1
partiallyDegraded: 1
gatewayBuiltin:
total: 4
online: 2
offline: 1
partiallyDegraded: 1
internalByStatus:
total: 4
online: 2
offline: 1
partiallyDegraded: 1
Expand All @@ -517,30 +531,47 @@ components:
zoneIngresses:
online: 1
total: 1
dataplanes:
online: 23
offline: 10
partiallyDegraded: 17
total: 50
policies:
total: 100
meshes:
total: 3
resources:
MeshTrafficPermission:
total: 42
MeshService:
total: 84
dataplanes:
standard:
total: 4
online: 2
offline: 1
partiallyDegraded: 1
online: 23
offline: 10
partiallyDegraded: 17
total: 51
gatewayBuiltin:
total: 4
online: 2
offline: 1
partiallyDegraded: 1
gatewayDelegated:
total: 4
online: 2
offline: 1
partiallyDegraded: 1
policies:
total: 100
meshes:
total: 3
resources:
MeshTrafficPermission:
total: 42
MeshService:
total: 84
InspectDataplanesForPolicyExample:
value:
labels:
k8s.kuma.io/namespace: kuma-system
total: 100
next: http://localhost:5681/meshes/default/meshretries/_resources/dataplanes?offset=100
items:
- type: Dataplane
mesh: default
name: dp-1
labels:
k8s.kuma.io/namespace: kuma-system
- type: Dataplane
mesh: default
name: dp-2
labels:
k8s.kuma.io/namespace: kuma-system
71 changes: 51 additions & 20 deletions docs/generated/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13552,11 +13552,25 @@ components:
createdAt: '2023-01-11T02:30:42.227Z'
services:
total: 5
internal: 4
external: 1
gatewayBuiltin: 1
gatewayProvided: 2
internal:
total: 4
online: 2
offline: 1
partiallyDegraded: 1
external:
total: 1
gatewayDelegated:
total: 4
online: 2
offline: 1
partiallyDegraded: 1
gatewayBuiltin:
total: 4
online: 2
offline: 1
partiallyDegraded: 1
internalByStatus:
total: 4
online: 2
offline: 1
partiallyDegraded: 1
Expand All @@ -13570,32 +13584,49 @@ components:
zoneIngresses:
online: 1
total: 1
dataplanes:
online: 23
offline: 10
partiallyDegraded: 17
total: 50
policies:
total: 100
meshes:
total: 3
resources:
MeshTrafficPermission:
total: 42
MeshService:
total: 84
dataplanes:
standard:
total: 4
online: 2
offline: 1
partiallyDegraded: 1
online: 23
offline: 10
partiallyDegraded: 17
total: 51
gatewayBuiltin:
total: 4
online: 2
offline: 1
partiallyDegraded: 1
gatewayDelegated:
total: 4
online: 2
offline: 1
partiallyDegraded: 1
policies:
total: 100
meshes:
total: 3
resources:
MeshTrafficPermission:
total: 42
MeshService:
total: 84
InspectDataplanesForPolicyExample:
value:
labels:
k8s.kuma.io/namespace: kuma-system
total: 100
next: >-
http://localhost:5681/meshes/default/meshretries/_resources/dataplanes?offset=100
items:
- type: Dataplane
mesh: default
name: dp-1
labels:
k8s.kuma.io/namespace: kuma-system
- type: Dataplane
mesh: default
name: dp-2
labels:
k8s.kuma.io/namespace: kuma-system

0 comments on commit 7e4a0ef

Please sign in to comment.