Skip to content

Feature: Complete OpenAPI and Checked-In API Documentation #71

Description

@3m1n3nc3

Description

Make OpenAPI and checked-in documentation accurately represent every implemented route and convention.

File Location

learnault-api/src/config/swagger.ts, route/controller schemas, and learnault-api/docs/API.md

Design Reference

API Roadmap Phase 0: Complete OpenAPI and Checked-In API Documentation.

Dependencies

  • Status: Blocked
  • Blocked by: Feature: Standardize API Contracts Pagination and Versioning
  • Blocks: Phase 0 closure and client integration

Tasks

  • Define operation IDs, tags, security schemes, envelopes, pagination, and errors
  • Document every current route, parameter, request, response, status, and authorization rule
  • Remove or clearly mark unimplemented routes
  • Add safe examples
  • Add OpenAPI validation and route-to-spec coverage tests
  • Document preview/update workflow

Acceptance Criteria

  • Every non-health route maps to one OpenAPI operation
  • Schemas match runtime behavior
  • No fictional/stale endpoint is presented as implemented
  • Validation and coverage pass

Verification Evidence

  • Attach validation/coverage output and rendered Swagger screenshot or export

Difficulty

Advanced

Activity

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

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions