aiplanethub / genai-stack

An End to End GenAI Framework
https://genaistack.aiplanet.com/
Apache License 2.0
126 stars 43 forks source link

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

Open sunilgaddi opened 11 months ago

sunilgaddi commented 11 months ago

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