Skip to content

Commit

Permalink
Separate CastWithInteractionsReactions and CastWithInteractionsRecast…
Browse files Browse the repository at this point in the history
…s from CastWithInteractionsReactionsOrRecasts
  • Loading branch information
Shreyaschorge committed Dec 14, 2023
1 parent a0d779c commit 60e416a
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions src/v1/spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -392,11 +392,12 @@ components:
$ref: "#/components/schemas/EmbedUrl"
type:
$ref: "#/components/schemas/CastType"
CastWithInteractionsReactionsOrRecasts:
CastWithInteractionsReactions:
type: object
required:
- count
- fids
- fnames
properties:
count:
type: integer
Expand All @@ -409,6 +410,19 @@ components:
type: array
items:
type: string
CastWithInteractionsRecasts:
type: object
required:
- count
- fids
properties:
count:
type: integer
format: int32
fids:
type: array
items:
$ref: "#/components/schemas/Fid"
CastWithInteractionsReplies:
type: object
required:
Expand All @@ -428,9 +442,9 @@ components:
- replies
properties:
reactions:
$ref: "#/components/schemas/CastWithInteractionsReactionsOrRecasts"
$ref: "#/components/schemas/CastWithInteractionsReactions"
recasts:
$ref: "#/components/schemas/CastWithInteractionsReactionsOrRecasts"
$ref: "#/components/schemas/CastWithInteractionsRecasts"
recasters:
type: array
items:
Expand Down

0 comments on commit 60e416a

Please sign in to comment.