Skip to content

Commit fd2b9f4

Browse files
committed
making transient_metadata and enabled field in role response optional (issue #317)
1 parent a89bcf2 commit fd2b9f4

File tree

5 files changed

+7
-10
lines changed

5 files changed

+7
-10
lines changed

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 1 addition & 4 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/security/_types/TransientMetadataConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@
1818
*/
1919

2020
export class TransientMetadataConfig {
21-
enabled: boolean
21+
enabled?: boolean
2222
}

specification/security/get_role/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export class Role {
3131
indices: IndicesPrivileges[]
3232
metadata: Metadata
3333
run_as: string[]
34-
transient_metadata: TransientMetadataConfig
34+
transient_metadata?: TransientMetadataConfig
3535
applications: ApplicationPrivileges[]
3636
role_templates?: RoleTemplate[]
3737
/**

0 commit comments

Comments
 (0)