Skip to content

docs(openapi): add OpenAPI examples for /api/admin/users/{address}/impersonate [b#046] - #728

Merged
greatest0fallt1me merged 3 commits into
Predictify-org:mainfrom
emmixeryng:feat/openapi-examples-impersonate-b046
Jul 29, 2026
Merged

docs(openapi): add OpenAPI examples for /api/admin/users/{address}/impersonate [b#046]#728
greatest0fallt1me merged 3 commits into
Predictify-org:mainfrom
emmixeryng:feat/openapi-examples-impersonate-b046

Conversation

@emmixeryng

Copy link
Copy Markdown
Contributor

Description

Add example request/response bodies for POST /api/admin/users/{address}/impersonate in openapi.yaml.

Requirements and Context

  • Implemented per the description above
  • Adheres to repo's lint and code style
  • Includes examples for 200 (successful impersonation token), 400 (validation error), and 403 (forbidden / rate limited) responses

Changes

  • src/openapi.yaml — Added /api/admin/users/{address}/impersonate path with operation, parameters, schemas, and examples
  • openapi.yaml — Same addition in root-level spec copy

Related issue

Closes #620

…personate [b#046]

- Add POST /api/admin/users/{address}/impersonate endpoint to OpenAPI spec
- Include example request/response bodies for 200, 400, and 403 responses
@drips-wave

drips-wave Bot commented Jul 28, 2026

Copy link
Copy Markdown

@emmixeryng Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@greatest0fallt1me
greatest0fallt1me merged commit c36aa86 into Predictify-org:main Jul 29, 2026
1 check passed
@greatest0fallt1me

Copy link
Copy Markdown
Contributor

CI passed, solid PR — merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add OpenAPI examples for /api/impersonate [b#046]

2 participants