Skip to content

Commit 9f1d783

Browse files
committed
Handle ipinfo in addition to maxmind
1 parent a984d15 commit 9f1d783

File tree

4 files changed

+43
-9
lines changed

4 files changed

+43
-9
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 7 additions & 2 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: 24 additions & 4 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: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/ingest/_types/Database.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,15 @@ export class DatabaseConfiguration {
2323
/** The provider-assigned name of the IP geolocation database to download. */
2424
name: Name
2525
/** The configuration necessary to identify which IP geolocation provider to use to download the database, as well as any provider-specific configuration necessary for such downloading.
26-
* At present, the only supported provider is maxmind, and the maxmind provider requires that an account_id (string) is configured.
26+
* At present, the only supported providers are maxmind and ipinfo, and the maxmind provider requires that an account_id (string) is configured.
27+
* A provider (either maxmind or ipinfo) must be specified.
2728
*/
28-
maxmind: Maxmind
29+
maxmind?: Maxmind
30+
ipinfo?: Ipinfo
2931
}
3032

3133
export class Maxmind {
3234
account_id: Id
3335
}
36+
37+
export class Ipinfo {}

0 commit comments

Comments
 (0)