This is not a huge deal, but now that I am doing testing on cwbi-dev, this keeps tripping me up and then I remember I have to change it.
Describe the bug
Swagger example request body has incorrect json identifiers officeId, timeseriesId, aliasId and refTsId under assigned-time-series.
"assigned-time-series": [
{
"officeId": "string",
"timeseriesId": "string",
"aliasId": "string",
"refTsId": "string",
"attribute": 0
}
]
This causes 500 errors if not changed as below.
Expected behavior
These should be hyphenated (like the identifiers in the rest of the example).
"assigned-time-series": [
{
"office-id": "string",
"timeseries-id": "string",
"alias-id": "string",
"ref-ts-id": "string",
"attribute": 0
}
]
To Reproduce
Steps to reproduce the behavior:
- Go to https://water.dev.cwbi.us/cwms-data/swagger-ui
- Scroll to Timeseries Groups
- Click Patch (or Post)
- Click Try it out
- See Request Body
CDA Version (please complete the following information):
- Versions 2025.09.02, 2026.02.11-develop