-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge all openapi specs into single file
- Loading branch information
1 parent
9f431eb
commit 261dc83
Showing
9 changed files
with
322 additions
and
385 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
Activity: | ||
title: Activity | ||
type: object | ||
description: activity details | ||
properties: | ||
id: | ||
type: integer | ||
format: int64 | ||
minimum: 1 | ||
created_at: | ||
type: string | ||
format: date-time | ||
event_name: | ||
type: string | ||
object_id: | ||
type: integer | ||
exclusiveMinimum: false | ||
exclusiveMaximum: false | ||
format: int64 | ||
minimum: 1 | ||
object_name: | ||
type: string | ||
object_type: | ||
type: string | ||
project_id: | ||
type: integer | ||
format: int64 | ||
exclusiveMinimum: false | ||
minimum: 1 | ||
project_name: | ||
type: string | ||
subject_name: | ||
type: string | ||
subject_type: | ||
type: string | ||
details: | ||
type: object | ||
properties: | ||
history: | ||
type: array | ||
items: | ||
$ref: "#/HistoryField" | ||
|
||
HistoryField: | ||
title: HistoryField | ||
type: object | ||
properties: | ||
field: | ||
type: string | ||
old_value: | ||
type: string | ||
new_value: | ||
type: string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
ApiKeyMetadata: | ||
title: API Key metadata | ||
type: object | ||
description: ReportPortal only stores metadata and a hash of the API Key. | ||
properties: | ||
id: | ||
type: integer | ||
description: Internal identifier | ||
name: | ||
type: string | ||
description: API Key unique name | ||
user_id: | ||
type: integer | ||
description: API Key owner | ||
created_at: | ||
type: string | ||
format: date-time | ||
description: Date time with milliseconds | ||
example: '2019-07-30T06:43:40.252Z' | ||
last_used_at: | ||
type: string | ||
format: date-time | ||
example: '2019-07-30T06:43:40.252Z' | ||
description: Date time with milliseconds | ||
|
||
ApiKey: | ||
title: API Key | ||
description: 'Generated API key, granted once after creation.' | ||
allOf: | ||
- $ref: '#/ApiKeyMetadata' | ||
- type: object | ||
properties: | ||
api_key: | ||
type: string | ||
description: Generated API Key |
2 changes: 0 additions & 2 deletions
2
api/openapi/models/Error.yaml → api/openapi/models/error.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
title: Error | ||
x-stoplight: | ||
id: px0fsay46csgt | ||
type: object | ||
properties: | ||
code: | ||
|
2 changes: 0 additions & 2 deletions
2
api/openapi/models/OffsetPagination.yaml → api/openapi/models/offsetPagination.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.