mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[OAS] Migrate machine learning APIs to v3.1.0 (#171594)
This commit is contained in:
parent
78f7b80e33
commit
2f258a229c
2 changed files with 16 additions and 10 deletions
|
@ -1,8 +1,8 @@
|
|||
openapi: 3.0.1
|
||||
openapi: 3.1.0
|
||||
info:
|
||||
title: Machine learning APIs
|
||||
description: Kibana APIs for the machine learning feature
|
||||
version: "1.0.1"
|
||||
version: "1.0.2"
|
||||
license:
|
||||
name: Elastic License 2.0
|
||||
url: https://www.elastic.co/licensing/elastic-license
|
||||
|
@ -82,7 +82,8 @@ components:
|
|||
required: false
|
||||
schema:
|
||||
type: boolean
|
||||
example: 'true'
|
||||
examples:
|
||||
- true
|
||||
securitySchemes:
|
||||
basicAuth:
|
||||
type: http
|
||||
|
@ -187,12 +188,14 @@ components:
|
|||
properties:
|
||||
error:
|
||||
type: string
|
||||
example: Unauthorized
|
||||
examples:
|
||||
- Unauthorized
|
||||
message:
|
||||
type: string
|
||||
statusCode:
|
||||
type: integer
|
||||
example: 401
|
||||
examples:
|
||||
- 401
|
||||
examples:
|
||||
mlSyncExample:
|
||||
summary: Two anomaly detection jobs required synchronization in this example.
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
openapi: 3.0.1
|
||||
openapi: 3.1.0
|
||||
info:
|
||||
title: Machine learning APIs
|
||||
description: Kibana APIs for the machine learning feature
|
||||
version: "1.0.1"
|
||||
version: "1.0.2"
|
||||
license:
|
||||
name: Elastic License 2.0
|
||||
url: https://www.elastic.co/licensing/elastic-license
|
||||
|
@ -46,7 +46,8 @@ components:
|
|||
required: false
|
||||
schema:
|
||||
type: boolean
|
||||
example: 'true'
|
||||
examples:
|
||||
- true
|
||||
securitySchemes:
|
||||
apiKeyAuth:
|
||||
type: apiKey
|
||||
|
@ -148,12 +149,14 @@ components:
|
|||
properties:
|
||||
error:
|
||||
type: string
|
||||
example: Unauthorized
|
||||
examples:
|
||||
- Unauthorized
|
||||
message:
|
||||
type: string
|
||||
statusCode:
|
||||
type: integer
|
||||
example: 401
|
||||
examples:
|
||||
- 401
|
||||
examples:
|
||||
mlSyncExample:
|
||||
summary: Two anomaly detection jobs required synchronization in this example.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue