summaryrefslogtreecommitdiff
path: root/opendc-api-spec.yml
diff options
context:
space:
mode:
authorGeorgios Andreadis <info@gandreadis.com>2020-07-08 16:18:20 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2020-08-24 19:47:58 +0200
commit94bcde012f1473f828f89a39addc8994114f9a58 (patch)
tree7e85167a2d05d323696a8a1eda4443ca4ab24981 /opendc-api-spec.yml
parent34427810d7e3c2a3d3257c3783f394d041a2c7d7 (diff)
Implement scenario routes
Diffstat (limited to 'opendc-api-spec.yml')
-rw-r--r--opendc-api-spec.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/opendc-api-spec.yml b/opendc-api-spec.yml
index e6040bdf..aa78a84a 100644
--- a/opendc-api-spec.yml
+++ b/opendc-api-spec.yml
@@ -500,7 +500,7 @@ paths:
put:
tags:
- scenarios
- description: "Update this Scenario."
+ description: "Update this Scenario's name (other properties are read-only)."
parameters:
- name: scenarioId
in: path
@@ -509,7 +509,7 @@ paths:
type: string
- name: scenario
in: body
- description: Scenario's new properties.
+ description: Scenario with new name.
required: true
schema:
$ref: '#/definitions/Scenario'