Skip to content

Add OpenAPI (swagger) docs to our documentation #239

Open
@fyliu

Description

@fyliu

Dependency

Overview

Since the project is not yet deployed, non-developers can't see the API docs that are generated on the fly by the backend. We need to generate and add that to our documentation so that everyone can view them.

Action Items

  • Implement and evaluate the several different mkdocs plugins for ease of use and integration, OpenAPI 3 support, and look and feel
  • Write a Decision Record comparing the options and recommend one
  • Create a PR for this issue using the chosen plugin

After Merge

Resources/Instructions

  1. Potential plugins (need redoc rather than swagger)
  2. Instructions on how to access the OpenAPI docs on the server

More details

To clarify the issue description, the project does generate API docs using drf-spectacular, but it's on the fly only when the server is running. The packages in resources will generate a static version and put it inside the mkdocs site so it becomes part of the documentation separate from the running server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    complexity: mediumStraightforward but some complexity (e.g., involves multiple files)draftThis issue is not fully-writtenfeature: docs: team guideSame as PD team documentation?ready for dev leadrole: dev opss: CTJstakeholder: Civic Tech Jobss: PD teamstakeholder: People Depot Teams: VRMSstakeholder: VRMSs: hackforla.orgstakeholder: hackforla.org websites: kbstakeholder: knowledgebasesize: 3ptCan be done in 13-18 hours

    Type

    No type

    Projects

    Status

    🆕New Issue Review

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions