VeuReu commited on
Commit
b50c710
·
verified ·
1 Parent(s): 3474668

Update api_schemas.py

Browse files
Files changed (1) hide show
  1. api_schemas.py +17 -1
api_schemas.py CHANGED
@@ -1,4 +1,20 @@
1
- # api_schemas.py
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  DESCRIBE_RAW_MULTIPART = {
3
  "method": "POST",
4
  "path": "/api/describe_raw",
 
1
+ """
2
+ # ==============================================================================
3
+ # API Schemas
4
+ # ==============================================================================
5
+ This module defines the schemas for the public-facing API endpoints used
6
+ by the Salamandra Vision 7B application. Each schema specifies the HTTP
7
+ method, endpoint path, expected input fields, and default values where
8
+ applicable. These schemas are used for client integration, validation,
9
+ and automatic documentation generation.
10
+
11
+ The endpoints defined here cover multiple types of input, including
12
+ multipart form-data for file uploads and JSON bodies for structured requests.
13
+
14
+ Each schema is structured as a dictionary to provide all necessary metadata
15
+ for request construction, validation, and automatic client use.
16
+ # ==============================================================================
17
+ """
18
  DESCRIBE_RAW_MULTIPART = {
19
  "method": "POST",
20
  "path": "/api/describe_raw",