Skip to content

Commit 07b9621

Browse files
nanotaboadaCopilot
andcommitted
docs(readme): add route type constraints to disambiguate GET endpoints
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 673c7a6 commit 07b9621

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,8 @@ Interactive API documentation is available via Swagger UI at `https://localhost:
190190
**Quick Reference:**
191191

192192
- `GET /players` - List all players
193-
- `GET /players/{id}` - Get player by ID (requires authentication)
194-
- `GET /players/{squadNumber}` - Get player by squad number
193+
- `GET /players/{id:Guid}` - Get player by ID (requires authentication)
194+
- `GET /players/{squadNumber:int}` - Get player by squad number
195195
- `POST /players` - Create new player
196196
- `PUT /players/{squadNumber}` - Update player
197197
- `DELETE /players/{squadNumber}` - Remove player

0 commit comments

Comments
 (0)