Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Starr-Bochicchio <[email protected]>
  • Loading branch information
lee-aaron and andrewsomething authored Jan 8, 2025
1 parent f7e4198 commit c2cbd59
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 15 deletions.
19 changes: 11 additions & 8 deletions specification/resources/spaces/responses/key_create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,18 @@ headers:
content:
application/json:
schema:
$ref: '../models/key_create_response.yml'
properties:
key:
$ref: '../models/key_create_response.yml'

examples:
Read Only Key:
value:
name: read-only-key
access_key: DOACCESSKEYEXAMPLE
secret_key: DOSECRETKEYEXAMPLE
grants:
- bucket: my-bucket
permission: read
created_at: '2018-07-19T15:04:16Z'
key:
name: read-only-key
access_key: DOACCESSKEYEXAMPLE
secret_key: DOSECRETKEYEXAMPLE
grants:
- bucket: my-bucket
permission: read
created_at: '2018-07-19T15:04:16Z'
17 changes: 10 additions & 7 deletions specification/resources/spaces/responses/key_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,17 @@ headers:
content:
application/json:
schema:
$ref: '../models/key.yml'
properties:
key:
$ref: '../models/key.yml'

examples:
Read Only Key:
value:
name: read-only-key
access_key: DOACCESSKEYEXAMPLE
grants:
- bucket: my-bucket
permission: read
created_at: '2018-07-19T15:04:16Z'
key:
name: read-only-key
access_key: DOACCESSKEYEXAMPLE
grants:
- bucket: my-bucket
permission: read
created_at: '2018-07-19T15:04:16Z'

0 comments on commit c2cbd59

Please sign in to comment.