Skip to content

Auto-generate OpenAPI spec from API code/router #206

Open
@KokaKiwi

Description

@KokaKiwi

Context

We need to manually update and fix the OpenAPI spec JSON whenever we change the API endpoints (spent like 5/6+ hours fixing it for the edgee-api-client crate)

To Do

  • Auto-generate the OpenAPI spec JSON from API code/router
    • An endpoint /openapi.json in the API?

How To

Definition of Done

  • Have a way to get the OpenAPI spec JSON autogenerated from the API
  • Remove the manually updated openapi.json

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions