Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

[GenAI Stack Server RestAPI's] Data model for request body #113

Open
sunilgaddi opened this issue Oct 18, 2023 · 0 comments
Open

[GenAI Stack Server RestAPI's] Data model for request body #113

sunilgaddi opened this issue Oct 18, 2023 · 0 comments
Labels
component;apis Rest APIs related issues enhancement New feature or request v0.2.0 For issues related to GenAI Stack 0.2.0

Comments

@sunilgaddi
Copy link
Contributor

sunilgaddi commented Oct 18, 2023

  • GenAI Stack version: 2.0.5
  • Python version: 3.8
  • Operating System: macOS Monterey

Description

Currently ETL RestAPI doesn't have a pydantic data model for Request Body. RestAPI's are built using the FastAPI framework and the documentation is autogenerated by the FastAPI itself.

image

from the above image the submit-job endpoint which is a post method and there is no information about the request body structure and type. so adding a data model would give the information about the request body.

Here are the documentations related to
GenAI Stack Server : https://genaistack.aiplanet.com/advanced-guide/genai_stack_server
API's Reference : https://genaistack.aiplanet.com/advanced-guide/openapi

@sunilgaddi sunilgaddi added enhancement New feature or request v0.2.0 For issues related to GenAI Stack 0.2.0 component;apis Rest APIs related issues labels Oct 18, 2023
@sunilgaddi sunilgaddi changed the title [GenAI Stack Server RestAPI's] Addition of data model for request body [GenAI Stack Server RestAPI's] Data model for request body Oct 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
component;apis Rest APIs related issues enhancement New feature or request v0.2.0 For issues related to GenAI Stack 0.2.0
Projects
None yet
Development

No branches or pull requests

1 participant