USACE / USACE/cwms-data-api

Allow callers to requiredParam to specify a better, more detailed error message for when param is missing.

Open
#561 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
28
Forks
25
Avg merge
4d 22h
Merged PRs (30d)
20

Description

Related to this comment and the required* helper methods in Controllers
https://github.com/USACE/cwms-data-api/pull/560#discussion_r1511726255

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked pull request discussion and inspect the required* helper methods in Controllers. Determine how requiredParam currently reports missing parameters and what caller-provided detail is expected; done means callers can supply a more specific missing-parameter error message without breaking existing helper behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.