Open donnybell opened 3 months ago
The Octopus engineering team has reviewed this issue.
After careful consideration, we’ve classed this low priority. This means we won’t work on it in the near future.
We prioritize issues based on the number of people affected, the impact type, and available workarounds.
If you’ve encountered this issue and haven’t informed our support team, please email support@octopus.com. Knowing how many people this issue affects helps us determine its priority.
Severity
No response
Version
2024.2.9313
Latest Version
None
What happened?
Action Template Parameters "DefaultValue" is set to an empty string, instead of NULL, when a new parameter is added with no "Default value". This is not a permitted value, according to Swagger.
Reproduction
Add a parameter to a step template
View the JSON via the API and copy the relevant portion as shown:
Attempt to PUT the JSON via SwaggerUI (fail):
Attempt the same PUT, but change
"DefaultValue": "",
to"DefaultValue": null,
(success):Error and Stacktrace
Please correct the following validation errors and try again.
More Information
No response
Workaround
No response