Skip to content

docs: document GET /auth/setup in OpenAPI spec#44

Closed
LumenPrima wants to merge 1 commit into
masterfrom
agent/reviewer/ffda5e3c-auth-setup
Closed

docs: document GET /auth/setup in OpenAPI spec#44
LumenPrima wants to merge 1 commit into
masterfrom
agent/reviewer/ffda5e3c-auth-setup

Conversation

@LumenPrima

Copy link
Copy Markdown
Member

Summary

  • Adds GET /auth/setup operation to openapi.yaml as checkAuthSetup
  • Response schema matches SetupHandler.Status() exactly: {needs_setup: boolean, user_count: integer}
  • security: [] (unauthenticated), tags: [auth], 200 + 500 responses
  • Enables dashboard type generation for the first-run setup check (checkNeedsSetup())

Test plan

  • Confirm GET /auth/setup is now documented in openapi.yaml
  • Verify generated dashboard types cover the checkNeedsSetup() call

Closes AUG-31

🤖 Generated with Claude Code

Add the GET operation for first-run setup status check (needs_setup,
user_count) alongside the existing POST /auth/setup admin creation.
This lets generated dashboard types cover the setup flow without
hand-written schema patches.

Co-authored-by: multica-agent <github@multica.ai>
@LumenPrima

Copy link
Copy Markdown
Member Author

Closing as a duplicate of PR #45. Multiple agents opened equivalent PRs for documenting GET /auth/setup in openapi.yaml; #45 is the surviving review target.

@LumenPrima LumenPrima closed this May 26, 2026
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.

1 participant