|
101 | 101 | } |
102 | 102 | } |
103 | 103 | } |
| 104 | + }, |
| 105 | + "/azure_storage/blobs/upload/": { |
| 106 | + "post": { |
| 107 | + "tags": [ |
| 108 | + "azure_storage" |
| 109 | + ], |
| 110 | + "summary": "Upload Blob", |
| 111 | + "operationId": "upload_blob_azure_storage_blobs_upload__post", |
| 112 | + "parameters": [ |
| 113 | + { |
| 114 | + "name": "blob_name", |
| 115 | + "in": "query", |
| 116 | + "required": true, |
| 117 | + "schema": { |
| 118 | + "type": "string", |
| 119 | + "title": "Blob Name" |
| 120 | + } |
| 121 | + } |
| 122 | + ], |
| 123 | + "requestBody": { |
| 124 | + "required": true, |
| 125 | + "content": { |
| 126 | + "multipart/form-data": { |
| 127 | + "schema": { |
| 128 | + "$ref": "#/components/schemas/Body_upload_blob_azure_storage_blobs_upload__post" |
| 129 | + } |
| 130 | + } |
| 131 | + } |
| 132 | + }, |
| 133 | + "responses": { |
| 134 | + "200": { |
| 135 | + "description": "Successful Response", |
| 136 | + "content": { |
| 137 | + "application/json": { |
| 138 | + "schema": { |
| 139 | + "$ref": "#/components/schemas/BlobUploadResponse" |
| 140 | + } |
| 141 | + } |
| 142 | + } |
| 143 | + }, |
| 144 | + "404": { |
| 145 | + "description": "Not found" |
| 146 | + }, |
| 147 | + "422": { |
| 148 | + "description": "Validation Error", |
| 149 | + "content": { |
| 150 | + "application/json": { |
| 151 | + "schema": { |
| 152 | + "$ref": "#/components/schemas/HTTPValidationError" |
| 153 | + } |
| 154 | + } |
| 155 | + } |
| 156 | + } |
| 157 | + } |
| 158 | + } |
| 159 | + }, |
| 160 | + "/azure_storage/blobs/delete/": { |
| 161 | + "delete": { |
| 162 | + "tags": [ |
| 163 | + "azure_storage" |
| 164 | + ], |
| 165 | + "summary": "Delete Blob", |
| 166 | + "operationId": "delete_blob_azure_storage_blobs_delete__delete", |
| 167 | + "parameters": [ |
| 168 | + { |
| 169 | + "name": "blob_name", |
| 170 | + "in": "query", |
| 171 | + "required": true, |
| 172 | + "schema": { |
| 173 | + "type": "string", |
| 174 | + "title": "Blob Name" |
| 175 | + } |
| 176 | + } |
| 177 | + ], |
| 178 | + "responses": { |
| 179 | + "200": { |
| 180 | + "description": "Successful Response", |
| 181 | + "content": { |
| 182 | + "application/json": { |
| 183 | + "schema": {} |
| 184 | + } |
| 185 | + } |
| 186 | + }, |
| 187 | + "404": { |
| 188 | + "description": "Not found" |
| 189 | + }, |
| 190 | + "422": { |
| 191 | + "description": "Validation Error", |
| 192 | + "content": { |
| 193 | + "application/json": { |
| 194 | + "schema": { |
| 195 | + "$ref": "#/components/schemas/HTTPValidationError" |
| 196 | + } |
| 197 | + } |
| 198 | + } |
| 199 | + } |
| 200 | + } |
| 201 | + } |
| 202 | + }, |
| 203 | + "/azure_storage/blobs/": { |
| 204 | + "get": { |
| 205 | + "tags": [ |
| 206 | + "azure_storage" |
| 207 | + ], |
| 208 | + "summary": "List Blobs", |
| 209 | + "operationId": "list_blobs_azure_storage_blobs__get", |
| 210 | + "responses": { |
| 211 | + "200": { |
| 212 | + "description": "Successful Response", |
| 213 | + "content": { |
| 214 | + "application/json": { |
| 215 | + "schema": {} |
| 216 | + } |
| 217 | + } |
| 218 | + }, |
| 219 | + "404": { |
| 220 | + "description": "Not found" |
| 221 | + } |
| 222 | + } |
| 223 | + } |
104 | 224 | } |
105 | 225 | }, |
106 | 226 | "components": { |
|
118 | 238 | ], |
119 | 239 | "title": "AnalyzeDocumentResponse" |
120 | 240 | }, |
| 241 | + "BlobUploadResponse": { |
| 242 | + "properties": { |
| 243 | + "blob_name": { |
| 244 | + "type": "string", |
| 245 | + "title": "Blob Name" |
| 246 | + } |
| 247 | + }, |
| 248 | + "type": "object", |
| 249 | + "required": [ |
| 250 | + "blob_name" |
| 251 | + ], |
| 252 | + "title": "BlobUploadResponse" |
| 253 | + }, |
121 | 254 | "Body_analyze_document_document_intelligence_analyze_document__post": { |
122 | 255 | "properties": { |
123 | 256 | "file": { |
|
132 | 265 | ], |
133 | 266 | "title": "Body_analyze_document_document_intelligence_analyze_document__post" |
134 | 267 | }, |
| 268 | + "Body_upload_blob_azure_storage_blobs_upload__post": { |
| 269 | + "properties": { |
| 270 | + "file": { |
| 271 | + "type": "string", |
| 272 | + "format": "binary", |
| 273 | + "title": "File" |
| 274 | + } |
| 275 | + }, |
| 276 | + "type": "object", |
| 277 | + "required": [ |
| 278 | + "file" |
| 279 | + ], |
| 280 | + "title": "Body_upload_blob_azure_storage_blobs_upload__post" |
| 281 | + }, |
135 | 282 | "ChatCompletionRequest": { |
136 | 283 | "properties": { |
137 | 284 | "content": { |
|
0 commit comments