You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The auto-generated OpenAPI (from /sys/internal/specs/openapi) generates incorrect documentation for the AWS secrets engine API.
To Reproduce
Mount an instance of the AWS secrets engine
Visit the built-in Vault Swagger UI (at /ui/vault/api-explorer)
Find the endpoint /aws/creds
Compare with the actual API docs for the AWS secrets engine
Realise that actually there is no such API endpoint /aws/creds, only /aws/creds/{name}
Expected behavior
Auto-generated OpenAPI should accurately reflect the actual APIs in Vault.
Additional context
It would seem highly likely that the bug is that the Vault OpenAPI generator doesn't correctly understand what to do with regexs employing alternatives:
Describe the bug
The auto-generated OpenAPI (from
/sys/internal/specs/openapi
) generates incorrect documentation for the AWS secrets engine API.To Reproduce
/ui/vault/api-explorer
)/aws/creds
/aws/creds
, only/aws/creds/{name}
Expected behavior
Auto-generated OpenAPI should accurately reflect the actual APIs in Vault.
Additional context
It would seem highly likely that the bug is that the Vault OpenAPI generator doesn't correctly understand what to do with regexs employing alternatives:
vault/builtin/logical/aws/path_user.go
Line 20 in 818502b
The text was updated successfully, but these errors were encountered: