CWBI Test /location/group endpoint returning location group without an id
Open
Nobody has claimed this yet.
approved-W192HQ23F0232-task4
- Dominant language
- Java
- Stars
- 28
- Forks
- 25
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 20
Description
curl -X 'GET' \
'https://cwms-data-test.cwbi.us/cwms-data/location/group?location-category-like=RDL_Findley' \
-H 'accept: application/json'
Response
[
{
"location-category": {
"office-id": "MVS",
"id": "RDL_Findley"
},
"assigned-locations": []
}
]
The group-id field should be required and the client does not expect it to be missing.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the GET /location/group endpoint and the response model that produces location groups. Reproduce the request shown in the issue, then identify where group-id becomes optional and verify that the response always includes it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100