Skip to content

Commit 1437db6

Browse files
author
Andrei Neagu
committed
updated specs
1 parent 7f3182a commit 1437db6

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

services/director-v2/openapi.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2291,6 +2291,26 @@
22912291
}
22922292
}
22932293
},
2294+
"LegacyState": {
2295+
"properties": {
2296+
"old_state_path": {
2297+
"type": "string",
2298+
"format": "path",
2299+
"title": "Old State Path"
2300+
},
2301+
"new_state_path": {
2302+
"type": "string",
2303+
"format": "path",
2304+
"title": "New State Path"
2305+
}
2306+
},
2307+
"type": "object",
2308+
"required": [
2309+
"old_state_path",
2310+
"new_state_path"
2311+
],
2312+
"title": "LegacyState"
2313+
},
22942314
"NATRule": {
22952315
"properties": {
22962316
"hostname": {
@@ -2449,6 +2469,17 @@
24492469
],
24502470
"title": "Volume Size Limits",
24512471
"description": "Apply volume size limits to entries in: `inputs_path`, `outputs_path` and `state_paths`. Limits must be parsable by Pydantic's ByteSize."
2472+
},
2473+
"legacy_state": {
2474+
"anyOf": [
2475+
{
2476+
"$ref": "#/components/schemas/LegacyState"
2477+
},
2478+
{
2479+
"type": "null"
2480+
}
2481+
],
2482+
"description": "if present, the service needs to first try to download the legacy statecoming from a different path."
24522483
}
24532484
},
24542485
"additionalProperties": false,

0 commit comments

Comments
 (0)