Skip to content

Commit

Permalink
feat: add id example
Browse files Browse the repository at this point in the history
  • Loading branch information
tosaken1116 committed Oct 20, 2023
1 parent 11d4810 commit f6f6c96
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions spec/components/schemas/Asset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ properties:
id:
title: Id
type: string
example: 84A743F4-97E6-42A9-9F6B-3B83B90BF524
user:
$ref: ./User.yaml
extension:
Expand Down
1 change: 1 addition & 0 deletions spec/components/schemas/GetTag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ properties:
id:
title: Id
type: string
example: 84A743F4-97E6-42A9-9F6B-3B83B90BF524
3 changes: 3 additions & 0 deletions spec/components/schemas/PostWork.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,13 @@ properties:
thumbnail_asset_id:
title: Thumbnail Asset Id
type: string
example: 84A743F4-97E6-42A9-9F6B-3B83B90BF524
assets_id:
title: Assets Id
type: array
items:
type: string
example: 84A743F4-97E6-42A9-9F6B-3B83B90BF524
urls:
title: Urls
type: array
Expand All @@ -36,3 +38,4 @@ properties:
type: array
items:
type: string
example: 84A743F4-97E6-42A9-9F6B-3B83B90BF524
2 changes: 2 additions & 0 deletions spec/components/schemas/ResponseComment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,13 @@ properties:
id:
title: Id
type: string
example: 84A743F4-97E6-42A9-9F6B-3B83B90BF524
user:
$ref: ./User.yaml
work_id:
title: Work Id
type: string
example: 84A743F4-97E6-42A9-9F6B-3B83B90BF524
visibility:
title: Visibility
type: string
Expand Down
2 changes: 2 additions & 0 deletions spec/components/schemas/ResponseReplyComment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ properties:
id:
title: Id
type: string
example: 84A743F4-97E6-42A9-9F6B-3B83B90BF524
user:
$ref: ./User.yaml
work_id:
title: Work Id
type: string
example: 84A743F4-97E6-42A9-9F6B-3B83B90BF524
visibility:
title: Visibility
type: string
Expand Down
1 change: 1 addition & 0 deletions spec/components/schemas/UrlInfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ properties:
id:
title: Id
type: string
example: 84A743F4-97E6-42A9-9F6B-3B83B90BF524
user:
$ref: ./User.yaml
created_at:
Expand Down
3 changes: 3 additions & 0 deletions spec/components/schemas/User.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ properties:
id:
title: Id
type: string
example: 84A743F4-97E6-42A9-9F6B-3B83B90BF524
name:
title: Name
type: string
Expand All @@ -28,9 +29,11 @@ properties:
twitter_id:
title: Twitter Id
type: string
example: twitter_id
github_id:
title: Github Id
type: string
example: github_id
created_at:
title: Created At
type: string
Expand Down
2 changes: 2 additions & 0 deletions spec/components/schemas/UserInfoChangeRequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ properties:
twitter_id:
title: Twitter Id
type: string
example: twitter_id
github_id:
title: Github Id
type: string
example: github_id
1 change: 1 addition & 0 deletions spec/components/schemas/Work.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ properties:
id:
title: Id
type: string
example: 84A743F4-97E6-42A9-9F6B-3B83B90BF524
title:
title: Title
type: string
Expand Down

0 comments on commit f6f6c96

Please sign in to comment.