Skip to content

Commit aa5f834

Browse files
Update Client
1 parent dcf68d6 commit aa5f834

7 files changed

Lines changed: 4 additions & 19 deletions

File tree

python-restclient/docs/ExportResourceApi.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ This endpoint does not need any parameter.
148148
**200** | OK | - |
149149
**401** | Not Authenticated | - |
150150
**403** | Not Allowed | - |
151-
**404** | Not found | - |
152151
**500** | Data Access Exception | - |
153152

154153
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

python-restclient/vcell_client/api/export_resource_api.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,6 @@ def export_status(
390390
'200': "List[ExportEvent]",
391391
'401': "VCellHTTPError",
392392
'403': None,
393-
'404': "VCellHTTPError",
394393
'500': "VCellHTTPError"
395394

396395
}
@@ -458,7 +457,6 @@ def export_status_with_http_info(
458457
'200': "List[ExportEvent]",
459458
'401': "VCellHTTPError",
460459
'403': None,
461-
'404': "VCellHTTPError",
462460
'500': "VCellHTTPError"
463461

464462
}
@@ -526,7 +524,6 @@ def export_status_without_preload_content(
526524
'200': "List[ExportEvent]",
527525
'401': "VCellHTTPError",
528526
'403': None,
529-
'404': "VCellHTTPError",
530527
'500': "VCellHTTPError"
531528

532529
}

tools/compile-and-build-clients.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ fi
1919

2020
cp ./vcell-rest/target/generated/openapi.yaml ./tools/openapi.yaml
2121
./tools/generate.sh
22+
./tools/python-fix.sh
2223

2324
if [[ "$CURRENT_DIR" == "$SCRIPT_DIR" ]]; then
2425
popd || exit

tools/openapi.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -485,12 +485,6 @@ paths:
485485
$ref: '#/components/schemas/VCellHTTPError'
486486
"403":
487487
description: Not Allowed
488-
"404":
489-
description: Not found
490-
content:
491-
application/json:
492-
schema:
493-
$ref: '#/components/schemas/VCellHTTPError'
494488
"500":
495489
description: Data Access Exception
496490
content:

tools/python-fix.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
# This script is used to fix the generated Python REST client code
44

55
# Order of operations matters here, so we need to ensure that the imports are correctly handled.
6+
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
7+
pushd "${SCRIPT_DIR}" || { echo "Failed to change directory to ${SCRIPT_DIR}"; exit 1; }
68
INIT_FILE="../python-restclient/vcell_client/models/__init__.py"
79

810
sed -i '' '/^from vcell_client.models.analytic_curve import AnalyticCurve$/d' $INIT_FILE && \
@@ -14,4 +16,4 @@ echo 'from vcell_client.models.composite_curve import CompositeCurve' >> $INIT_F
1416
sed -i '' '/^from vcell_client.models.control_point_curve import ControlPointCurve$/d' $INIT_FILE && \
1517
echo 'from vcell_client.models.control_point_curve import ControlPointCurve' >> $INIT_FILE
1618

17-
19+
popd

vcell-restclient/api/openapi.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -521,12 +521,6 @@ paths:
521521
description: Not Authenticated
522522
"403":
523523
description: Not Allowed
524-
"404":
525-
content:
526-
application/json:
527-
schema:
528-
$ref: '#/components/schemas/VCellHTTPError'
529-
description: Not found
530524
"500":
531525
content:
532526
application/json:

vcell-restclient/docs/ExportResourceApi.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,6 @@ This endpoint does not need any parameter.
223223
| **200** | OK | - |
224224
| **401** | Not Authenticated | - |
225225
| **403** | Not Allowed | - |
226-
| **404** | Not found | - |
227226
| **500** | Data Access Exception | - |
228227

229228
## exportStatusWithHttpInfo
@@ -293,6 +292,5 @@ ApiResponse<[**Set&lt;ExportEvent&gt;**](ExportEvent.md)>
293292
| **200** | OK | - |
294293
| **401** | Not Authenticated | - |
295294
| **403** | Not Allowed | - |
296-
| **404** | Not found | - |
297295
| **500** | Data Access Exception | - |
298296

0 commit comments

Comments
 (0)