Skip to content

Commit

Permalink
generate docs & OAS
Browse files Browse the repository at this point in the history
  • Loading branch information
janmonschke committed Sep 30, 2024
1 parent 3e192bb commit 6ffce63
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 14 deletions.
8 changes: 5 additions & 3 deletions oas_docs/output/kibana.serverless.staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16369,7 +16369,8 @@ paths:
- getOneTimeline
required:
- data
- type: object
- additionalProperties: false
type: object
description: Indicates that the (template) Timeline was found and returned.
summary: Get Timeline or Timeline template details
tags:
Expand Down Expand Up @@ -16514,7 +16515,7 @@ paths:
$ref: >-
#/components/schemas/Security_Timeline_API_PersistTimelineResponse
description: Indicates that the timeline has been successfully copied.
summary: Copies timeline or timeline template.
summary: Copies timeline or timeline template
tags:
- Security Timeline API
- access:securitySolution
Expand Down Expand Up @@ -16903,7 +16904,8 @@ paths:
#/components/schemas/Security_Timeline_API_ResolvedTimeline
required:
- data
- type: object
- additionalProperties: false
type: object
description: The (template) Timeline has been found
'400':
description: The request is missing parameters
Expand Down
8 changes: 5 additions & 3 deletions oas_docs/output/kibana.staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20458,7 +20458,8 @@ paths:
- getOneTimeline
required:
- data
- type: object
- additionalProperties: false
type: object
description: Indicates that the (template) Timeline was found and returned.
summary: Get Timeline or Timeline template details
tags:
Expand Down Expand Up @@ -20603,7 +20604,7 @@ paths:
$ref: >-
#/components/schemas/Security_Timeline_API_PersistTimelineResponse
description: Indicates that the timeline has been successfully copied.
summary: Copies timeline or timeline template.
summary: Copies timeline or timeline template
tags:
- Security Timeline API
- access:securitySolution
Expand Down Expand Up @@ -20992,7 +20993,8 @@ paths:
#/components/schemas/Security_Timeline_API_ResolvedTimeline
required:
- data
- type: object
- additionalProperties: false
type: object
description: The (template) Timeline has been found
'400':
description: The request is missing parameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ export const GetTimelineResponse = z.union([
getOneTimeline: TimelineResponse,
}),
}),
z.object({}),
z.object({}).strict(),
]);
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ export const ResolveTimelineResponse = z.union([
z.object({
data: ResolvedTimeline,
}),
z.object({}),
z.object({}).strict(),
]);
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,8 @@ paths:
- getOneTimeline
required:
- data
- type: object
- additionalProperties: false
type: object
description: Indicates that the (template) Timeline was found and returned.
summary: Get Timeline or Timeline template details
tags:
Expand Down Expand Up @@ -422,7 +423,7 @@ paths:
schema:
$ref: '#/components/schemas/PersistTimelineResponse'
description: Indicates that the timeline has been successfully copied.
summary: Copies timeline or timeline template.
summary: Copies timeline or timeline template
tags:
- Security Timeline API
- access:securitySolution
Expand Down Expand Up @@ -804,7 +805,8 @@ paths:
$ref: '#/components/schemas/ResolvedTimeline'
required:
- data
- type: object
- additionalProperties: false
type: object
description: The (template) Timeline has been found
'400':
description: The request is missing parameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,8 @@ paths:
- getOneTimeline
required:
- data
- type: object
- additionalProperties: false
type: object
description: Indicates that the (template) Timeline was found and returned.
summary: Get Timeline or Timeline template details
tags:
Expand Down Expand Up @@ -422,7 +423,7 @@ paths:
schema:
$ref: '#/components/schemas/PersistTimelineResponse'
description: Indicates that the timeline has been successfully copied.
summary: Copies timeline or timeline template.
summary: Copies timeline or timeline template
tags:
- Security Timeline API
- access:securitySolution
Expand Down Expand Up @@ -804,7 +805,8 @@ paths:
$ref: '#/components/schemas/ResolvedTimeline'
required:
- data
- type: object
- additionalProperties: false
type: object
description: The (template) Timeline has been found
'400':
description: The request is missing parameters
Expand Down

0 comments on commit 6ffce63

Please sign in to comment.