Skip to content

Commit

Permalink
Separate FeedType and FilterType Enum (#25)
Browse files Browse the repository at this point in the history
Co-authored-by: Shreyaschorge <[email protected]>
  • Loading branch information
Shreyaschorge and Shreyaschorge authored Nov 24, 2023
1 parent bfdc4e2 commit f189c97
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions src/v2/spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -762,6 +762,17 @@ components:
type: array
items:
$ref: "#/components/schemas/User"
FeedType:
type: string
enum:
- following
- filter
FilterType:
type: string
enum:
- fids
- parent_url
- global_trending

parameters:
ApiKey:
Expand Down Expand Up @@ -1184,21 +1195,14 @@ paths:
in: query
required: true
schema:
type: string
enum:
- following
- filter
$ref: "#/components/schemas/FeedType"
default: following
example: filter
description: Defaults to following (requires fid or address). If set to filter (requires filter_type)
- name: filter_type
in: query
schema:
type: string
enum:
- fids
- parent_url
- global_trending
$ref: "#/components/schemas/FilterType"
example: fids
description: Used when feed_type=filter. Can be set to fids (requires fids) or parent_url (requires parent_url)
- name: fid
Expand Down Expand Up @@ -1356,7 +1360,7 @@ paths:
summary: Removes verification for an eth address for the user
description: |
Removes verification for an eth address for the user \
(In order to add verification `signer_uuid` must be approved)
(In order to delete verification `signer_uuid` must be approved)
externalDocs:
url: https://docs.neynar.com/reference/remove-verification
parameters:
Expand Down

0 comments on commit f189c97

Please sign in to comment.