[OAS] Migrate machine learning APIs to v3.1.0 (#171594)

This commit is contained in:
Lisa Cawley 2023-11-23 11:46:05 -08:00 committed by GitHub
parent 78f7b80e33
commit 2f258a229c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 10 deletions

View file

@ -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.

View file

@ -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.