Skip to content

Commit

Permalink
Remove x-technical-preview from OAS
Browse files Browse the repository at this point in the history
  • Loading branch information
cnasikas committed Jul 9, 2024
1 parent 0e09d1f commit 204960f
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 42 deletions.
12 changes: 0 additions & 12 deletions x-pack/plugins/cases/docs/openapi/bundled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,6 @@ paths:
- elastic
customFields:
type: array
x-technical-preview: true
description: Custom fields configuration details.
items:
type: object
Expand Down Expand Up @@ -478,7 +477,6 @@ paths:
- elastic
customFields:
type: array
x-technical-preview: true
description: Custom fields configuration details.
items:
type: object
Expand Down Expand Up @@ -677,7 +675,6 @@ paths:
- elastic
customFields:
type: array
x-technical-preview: true
description: Custom fields configuration details.
items:
type: object
Expand Down Expand Up @@ -1548,7 +1545,6 @@ paths:
- elastic
customFields:
type: array
x-technical-preview: true
description: Custom fields configuration details.
items:
type: object
Expand Down Expand Up @@ -1746,7 +1742,6 @@ paths:
- elastic
customFields:
type: array
x-technical-preview: true
description: Custom fields configuration details.
items:
type: object
Expand Down Expand Up @@ -1946,7 +1941,6 @@ paths:
- elastic
customFields:
type: array
x-technical-preview: true
description: Custom fields configuration details.
items:
type: object
Expand Down Expand Up @@ -3305,7 +3299,6 @@ components:
type: array
description: |
Custom field values for a case. Any optional custom fields that are not specified in the request are set to null.
x-technical-preview: true
minItems: 0
maxItems: 10
items:
Expand Down Expand Up @@ -3804,7 +3797,6 @@ components:
customFields:
type: array
description: Custom field values for the case.
x-technical-preview: true
items:
type: object
properties:
Expand Down Expand Up @@ -3933,7 +3925,6 @@ components:
type: array
description: |
Custom field values for a case. Any optional custom fields that are not specified in the request are set to null.
x-technical-preview: true
minItems: 0
maxItems: 10
items:
Expand Down Expand Up @@ -4053,7 +4044,6 @@ components:
$ref: '#/components/schemas/connector_types'
customFields:
type: array
x-technical-preview: true
description: Custom field values in the template.
items:
type: object
Expand Down Expand Up @@ -4135,7 +4125,6 @@ components:
customFields:
type: array
description: Custom fields case configuration.
x-technical-preview: true
minItems: 0
maxItems: 10
items:
Expand Down Expand Up @@ -4216,7 +4205,6 @@ components:
customFields:
type: array
description: Custom fields case configuration.
x-technical-preview: true
items:
type: object
required:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
closure_type:
$ref: 'closure_types.yaml'
connector:
connector:
type: object
properties:
$ref: 'case_configure_connector_properties.yaml'
Expand All @@ -12,23 +12,22 @@ created_at:
created_by:
type: object
required:
- email
- full_name
- username
- email
- full_name
- username
properties:
$ref: 'user_properties.yaml'
customFields:
type: array
x-technical-preview: true
description: Custom fields configuration details.
items:
type: object
properties:
$ref: 'case_configure_customfields.yaml'
error:
type:
- "string"
- "null"
- 'string'
- 'null'
examples:
- null
id:
Expand Down Expand Up @@ -58,22 +57,22 @@ templates:
$ref: 'templates.yaml'
updated_at:
type:
- "string"
- "null"
- 'string'
- 'null'
format: date-time
examples:
- 2022-06-01T19:58:48.169Z
updated_by:
type:
- "object"
- "null"
- 'object'
- 'null'
required:
- email
- full_name
- username
- email
- full_name
- username
properties:
$ref: 'user_properties.yaml'
version:
type: string
examples:
- WzIwNzMsMV0=
- WzIwNzMsMV0=
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ properties:
$ref: 'assignees.yaml'
category:
type:
- "string"
- "null"
- 'string'
- 'null'
description: The case category.
closed_at:
type:
- "string"
- "null"
- 'string'
- 'null'
format: date-time
closed_by:
$ref: 'case_response_closed_by_properties.yaml'
Expand Down Expand Up @@ -81,7 +81,6 @@ properties:
customFields:
type: array
description: Custom field values for the case.
x-technical-preview: true
items:
type: object
properties:
Expand All @@ -92,8 +91,8 @@ properties:
- A case description.
duration:
type:
- "integer"
- "null"
- 'integer'
- 'null'
description: >
The elapsed time from the creation of the case to its closure (in seconds).
If the case has not been closed, the duration is set to null. If the case
Expand Down Expand Up @@ -135,8 +134,8 @@ properties:
- 0
updated_at:
type:
- "string"
- "null"
- 'string'
- 'null'
format: date-time
updated_by:
$ref: 'case_response_updated_by_properties.yaml'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ properties:
description: >
Custom field values for a case.
Any optional custom fields that are not specified in the request are set to null.
x-technical-preview: true
minItems: 0
maxItems: 10
items:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ properties:
customFields:
type: array
description: Custom fields case configuration.
x-technical-preview: true
minItems: 0
maxItems: 10
items:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ title: Update case configuration request
description: >
You can update settings such as the closure type, custom fields, templates, and the default connector for cases.
type: object
required:
required:
- version
properties:
closure_type:
Expand All @@ -20,7 +20,6 @@ properties:
customFields:
type: array
description: Custom fields case configuration.
x-technical-preview: true
items:
type: object
required:
Expand All @@ -38,4 +37,4 @@ properties:
To retrieve the version value, use the get configuration API.
type: string
examples:
- WzIwMiwxXQ==
- WzIwMiwxXQ==
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ properties:
description: >
Custom field values for a case.
Any optional custom fields that are not specified in the request are set to null.
x-technical-preview: true
minItems: 0
maxItems: 10
items:
Expand Down

0 comments on commit 204960f

Please sign in to comment.