Skip to content

Commit b8e5370

Browse files
committed
Import shared SecuritySettings
1 parent 184f172 commit b8e5370

File tree

6 files changed

+83
-124
lines changed

6 files changed

+83
-124
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 7 additions & 23 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: 40 additions & 84 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: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/*
2+
* Licensed to Elasticsearch B.V. under one or more contributor
3+
* license agreements. See the NOTICE file distributed with
4+
* this work for additional information regarding copyright
5+
* ownership. Elasticsearch B.V. licenses this file to you under
6+
* the Apache License, Version 2.0 (the "License"); you may
7+
* not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
20+
import { IndexSettings } from '@indices/_types/IndexSettings'
21+
22+
export class SecuritySettings {
23+
index?: IndexSettings
24+
}

specification/security/get_settings/SecurityGetSettingsResponse.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
* specific language governing permissions and limitations
1717
* under the License.
1818
*/
19-
import { IndexSettings } from '@indices/_types/IndexSettings'
20-
import { Dictionary } from '@spec_utils/Dictionary'
19+
import { SecuritySettings } from '@security/_types/SecuritySettings'
2120

2221
export class Response {
2322
body: {
@@ -35,7 +34,3 @@ export class Response {
3534
'security-tokens': SecuritySettings
3635
}
3736
}
38-
39-
export class SecuritySettings {
40-
index?: IndexSettings
41-
}

specification/security/update_settings/SecurityUpdateSettingsRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* under the License.
1818
*/
1919

20-
import { Dictionary } from '@spec_utils/Dictionary'
20+
import { SecuritySettings } from '@security/_types/SecuritySettings'
2121
import { RequestBase } from '@_types/Base'
2222
import { Duration } from '@_types/Time'
2323

0 commit comments

Comments
 (0)