Skip to content

Commit 68d4387

Browse files
chore(kuma-http-api): bump kuma OAS based types - 84ada43 (#4857)
Generates the OAS based types from the latest kuma OAS. > Changelog: chore(deps): use latest OAS from kuma - 84ada43 Signed-off-by: GitHub <noreply@github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 35f17bc commit 68d4387

5 files changed

Lines changed: 4 additions & 12 deletions

File tree

packages/kuma-http-api/dist/components/responses/GlobalInsightResponse.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ description: A response containing global insight.
22
content:
33
application/json:
44
schema:
5-
$ref: ../schemas/GlobalInsight.yaml
5+
$ref: ../schemas/GlobalInsightBase.yaml
66
examples:
77
Single control plane response:
88
$ref: ../examples/GlobalInsightExample.yaml

packages/kuma-http-api/dist/components/schemas/GlobalInsight.yaml

Lines changed: 0 additions & 2 deletions
This file was deleted.

packages/kuma-http-api/dist/openapi.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,6 @@ components:
199199
$ref: components/schemas/MeshesStats.yaml
200200
GlobalInsightBase:
201201
$ref: components/schemas/GlobalInsightBase.yaml
202-
GlobalInsight:
203-
$ref: components/schemas/GlobalInsight.yaml
204202
InspectHostnames:
205203
$ref: components/schemas/InspectHostnames.yaml
206204
InspectHostname:

packages/kuma-http-api/index.d.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1799,7 +1799,6 @@ export interface components {
17991799
[key: string]: components["schemas"]["ResourceStats"];
18001800
};
18011801
};
1802-
GlobalInsight: components["schemas"]["GlobalInsightBase"];
18031802
Meta: {
18041803
/**
18051804
* @description the type of this resource
@@ -10511,7 +10510,7 @@ export interface components {
1051110510
[name: string]: unknown;
1051210511
};
1051310512
content: {
10514-
"application/json": components["schemas"]["GlobalInsight"];
10513+
"application/json": components["schemas"]["GlobalInsightBase"];
1051510514
};
1051610515
};
1051710516
/** @description A response containing policies that match a resource */

packages/kuma-http-api/openapi.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ info:
44
description: Kuma API
55
version: v1alpha1
66
x-ref-schema-name: DataplaneOverview
7-
x-oas-source: kumahq/kuma@d9db25dd25de9e3fd99fb01bda4b4c01233067e1
7+
x-oas-source: kumahq/kuma@84ada43c9b742f4c30a7c1f40091a761f2728a87
88
paths:
99
/:
1010
get:
@@ -4674,9 +4674,6 @@ components:
46744674
- meshes
46754675
- resources
46764676
title: GlobalInsightBase
4677-
GlobalInsight:
4678-
allOf:
4679-
- $ref: '#/components/schemas/GlobalInsightBase'
46804677
Meta:
46814678
type: object
46824679
properties:
@@ -16703,7 +16700,7 @@ components:
1670316700
content:
1670416701
application/json:
1670516702
schema:
16706-
$ref: '#/components/schemas/GlobalInsight'
16703+
$ref: '#/components/schemas/GlobalInsightBase'
1670716704
examples:
1670816705
Single control plane response:
1670916706
$ref: '#/components/examples/GlobalInsightExample'

0 commit comments

Comments
 (0)