USACE / USACE/cwms-data-api

Invalid OpenAPI for auth keys endpoints

Open
#480 2 comments 0 reactions 2 assignees View on GitHub

@rma-psmorris is already working on this.

Since May 4, 2026.

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

Description

I loaded the Swagger Docs from https://cwms-data.usace.army.mil/cwms-data/swagger-docs and input them into the Swagger Editor for validation and received the following errors:

Errors
 
Semantic error at security.0
Security requirements must match a security definition
Jump to line 7
Semantic error at paths./cwms-data/auth/keys/{key-name}.delete.requestBody
DELETE operations cannot have a requestBody.
Jump to line 111
Structural error at components.securitySchemes.ApiKey
should NOT have additional properties
additionalProperty: scheme
Jump to line 6636

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.