Skip to content

Commit

Permalink
Fix Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-aaron committed Jan 7, 2025
1 parent 2071f83 commit b6b3fd4
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 15 deletions.
4 changes: 2 additions & 2 deletions specification/resources/spaces/key_create.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
operationId: key_create
operationId: spacesKey_create

summary: Create a New Spaces Access Key
summary: "[Beta] Create a New Spaces Access Key"

description: |
To create a new Spaces Access Key, send a POST request to `/v2/spaces/keys`.
Expand Down
4 changes: 2 additions & 2 deletions specification/resources/spaces/key_delete.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
operationId: key_delete
operationId: spacesKey_delete

summary: Delete a Spaces Access Key
summary: "[Beta] Delete a Spaces Access Key"

description: |
To delete a Spaces Access Key, send a DELETE request to `/v2/spaces/keys/$ACCESS_KEY`.
Expand Down
4 changes: 2 additions & 2 deletions specification/resources/spaces/key_list.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
operationId: key_list
operationId: spacesKey_list

summary: List Spaces Access Keys
summary: "[Beta] List Spaces Access Keys"

description: |
To list Spaces Access Key, send a GET request to `/v2/spaces/keys`.
Expand Down
4 changes: 2 additions & 2 deletions specification/resources/spaces/key_patch.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
operationId: key_patch
operationId: spacesKey_patch

summary: Update Spaces Access Keys
summary: "[Beta] Update Spaces Access Keys"

description: |
To update Spaces Access Key, send a PUT or PATCH request to `/v2/spaces/keys/$ACCESS_KEY`.
Expand Down
4 changes: 2 additions & 2 deletions specification/resources/spaces/key_update.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
operationId: key_update
operationId: spacesKey_update

summary: Update Spaces Access Keys
summary: "[Beta] Update Spaces Access Keys"

description: |
To update Spaces Access Key, send a PUT or PATCH request to `/v2/spaces/keys/$ACCESS_KEY`.
Expand Down
2 changes: 2 additions & 0 deletions specification/resources/spaces/models/key_create_response.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ properties:
type: string
description: The access key.
example: DOACCESSKEYEXAMPLE
readOnly: true

secret_key:
type: string
Expand All @@ -28,6 +29,7 @@ properties:
format: date-time
description: The date and time the key was created.
example: '2018-07-19T15:04:16Z'
readOnly: true

required:
- name
Expand Down
2 changes: 2 additions & 0 deletions specification/resources/spaces/models/key_response.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@ properties:
type: string
description: The access key.
example: DOACCESSKEYEXAMPLE
readOnly: true

created_at:
type: string
format: date-time
description: The date and time the key was created.
example: '2018-07-19T15:04:16Z'
readOnly: true

required:
- name
Expand Down
1 change: 0 additions & 1 deletion specification/resources/spaces/parameters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ access_key_name:
required: true
schema:
type: string
default: ""
example: DOACCESSKEYEXAMPLE

sort:
Expand Down
3 changes: 1 addition & 2 deletions specification/resources/spaces/responses/key_create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ headers:
content:
application/json:
schema:
properties:
$ref: '../models/key_create_response.yml'
$ref: '../models/key_create_response.yml'

examples:
Read Only Key:
Expand Down
3 changes: 1 addition & 2 deletions specification/resources/spaces/responses/key_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ headers:
content:
application/json:
schema:
properties:
$ref: '../models/key_response.yml'
$ref: '../models/key_response.yml'

examples:
Read Only Key:
Expand Down

0 comments on commit b6b3fd4

Please sign in to comment.