Skip to content

Commit a955833

Browse files
Merge remote-tracking branch 'origin/main' into google-model-garden-update
2 parents 918321e + 98c5b22 commit a955833

File tree

6 files changed

+7
-18
lines changed

6 files changed

+7
-18
lines changed

.github/workflows/validate-apis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,6 @@ jobs:
9393
with:
9494
path: ./clients-flight-recorder/recordings/types-validation/types-validation.json
9595
key: types-validation-json-${{ format('{0}-{1}', github.ref_name, github.sha) }}
96-
restore-keys: |
97-
types-validation-json-${{ github.ref_name }}-
9896

9997
- name: Run validation (PR)
10098
if: github.event_name == 'pull_request'

compiler/src/model/build-model.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,6 @@ export function compileEndpoints (): Record<string, model.Endpoint> {
102102
}
103103
})
104104
}
105-
106-
// temporary workaround for APIs that are serverless-only
107-
// until we can stop depending on rest-api-spec for availability
108-
if (api === 'project.tags') {
109-
delete map[api].availability.stack
110-
}
111-
112105
if (typeof spec.feature_flag === 'string') {
113106
map[api].availability.stack = { featureFlag: spec.feature_flag }
114107
}

output/openapi/elasticsearch-openapi.json

Lines changed: 1 addition & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/cluster/allocation_explain/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export enum Decision {
101101
}
102102

103103
export class NodeAllocationExplanation {
104-
deciders: AllocationDecision[]
104+
deciders?: AllocationDecision[]
105105
node_attributes: Dictionary<string, string>
106106
node_decision: Decision
107107
node_id: Id
@@ -113,7 +113,7 @@ export class NodeAllocationExplanation {
113113
roles: NodeRoles
114114
store?: AllocationStore
115115
transport_address: TransportAddress
116-
weight_ranking: integer
116+
weight_ranking?: integer
117117
}
118118

119119
export enum StoreCopy {

0 commit comments

Comments
 (0)