Is your feature request related to a problem? Please describe.
Currently, use of an invalid category or prefix value will result in a response of "Not implemented". This is inaccurate and unhelpful when determining the cause of failure.
To recreate, use any string value for the category and prefix. For a successful response, see the defined category and prefix in the test class:
|
private static final String CATEGORY_IT = "AT_EMBANK_STRUCTURE_TYPE"; |
Describe the solution you'd like
Clear error messages using the new CDA error message structure should be implemented to clarify when a failure is caused by invalid user input.
Is your feature request related to a problem? Please describe.
Currently, use of an invalid category or prefix value will result in a response of "Not implemented". This is inaccurate and unhelpful when determining the cause of failure.
To recreate, use any string value for the category and prefix. For a successful response, see the defined category and prefix in the test class:
cwms-data-api/cwms-data-api/src/test/java/cwms/cda/api/LookupTypeControllerIT.java
Line 52 in a2be20c
Describe the solution you'd like
Clear error messages using the new CDA error message structure should be implemented to clarify when a failure is caused by invalid user input.