aiplanethub / genai-stack

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

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

Open sunilgaddi opened 1 year ago

sunilgaddi commented 1 year 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