Hit POST /login-mock, send any username, copy the returned token.
Click Authorize at the top, paste the token, Authorize, Close.
Use any of the /v1/pets endpoints with "Try it out".
Endpoints
Method
Path
Notes
POST
/v1/pets
Create — Errors(401, 400)
GET
/v1/pets
List
GET
/v1/pets/{id}
Get — Errors(404)
PATCH
/v1/pets/{id}
Update — Errors(404, 400)
DELETE
/v1/pets/{id}
Delete — Errors(404)
POST
/v1/pets/{id}/adopt
Action endpoint — Errors(404, 409)
POST
/login-mock
Public — NoSecurity()
Layout
A single main.go for readability — domain, repo, HTTP handlers, and entry point in one file. A real service would split these into packages (internal/domain, internal/repository, internal/transport/http); this example deliberately doesn't, so the kit's surface is visible end-to-end at a glance.