Skip to content

[Feature] [OPEA API] content is missing in automatically generated RESTful API spec #1699

@lianhao

Description

@lianhao

Priority

Undecided

OS type

Ubuntu

Hardware type

Xeon-GNR

Running nodes

Single Node

Description

Many of the OPEA microservices rely on the fastAPI's automatic API doc generation feature to generate RESTful API spec. However, the explanations of the input and/or output parameters of some of the APIs are missing.

Take dataprep as an example, please note that the input parameter of API /v1/dataprep/ingest is missing.

Image

We should make sure the automatically generated API spec has all the content the developers need:

  1. Full RESTful API spec with explanations of all input/output parameters
  2. If we could provide some API usage examples that would be much better

Metadata

Metadata

Assignees

No one assigned

    Labels

    Backlogfeatures in backlogdocumentationImprovements or additions to documentationfeatureNew feature or request

    Type

    Projects

    Status

    In progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions