Skip to content

[Swagger] Dedupe /auth/2fa/setup; add operationIds and machine-readable roles #567

Description

@kingksjo

Domain: API Docs / Metadata

Tier: 🟡 Medium

Description:
/api/auth/2fa/setup declared twice (~L1615 & L1700 — invalid duplicate key). Zero operationIds repo-wide. Role info is prose-only except one x-required-role (~L2693).

Dependencies: None.

Acceptance Criteria:

  • Duplicate removed (keep richer block); unique operationIds everywhere (<tag>_<method>_<path> style).
  • x-required-role applied per route from actual requireRole args.

Testing Requirements:

  • Script/grep proves zero duplicate keys + full operationId coverage.

PR Checklist:

  • Branch: docs/p3-09-operation-metadata

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave programdocumentationImprovements or additions to documentation🟡 Medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions