Skip to content

Commit

Permalink
fix: use new, unique operation name for 'v2/user/by_username' (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
eurbs authored Oct 8, 2024
1 parent 147f4ef commit 9746431
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/v1/spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@ paths:
tags:
- User
summary: DEPRECATED - Get User Information by username
description: Now deprecated, use [v2/user/by_username](https://docs.neynar.com/reference/user-by-username) instead. Returns metadata about a specific user
description: Now deprecated, use [v2/user/by_username](https://docs.neynar.com/reference/user-by-username-v2) instead. Returns metadata about a specific user
externalDocs:
url: https://docs.neynar.com/reference/user-by-username-v1
operationId: user-by-username-v1
Expand Down
4 changes: 2 additions & 2 deletions src/v2/spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5567,9 +5567,9 @@ paths:
- User
summary: "Fetch a user by username"
description: "Fetches a single hydrated user object given a username"
operationId: user-by-username
operationId: user-by-username-v2
externalDocs:
url: https://docs.neynar.com/reference/user-by-username
url: https://docs.neynar.com/reference/user-by-username-v2
parameters:
- $ref: "#/components/parameters/ApiKey"
- name: username
Expand Down

0 comments on commit 9746431

Please sign in to comment.