Closed amarjandu closed 4 years ago
Error with get-v1-resource
hca auth get-v1-resource
Expected behavior, cli outputs all resources available to the user.
Actual output
hca auth get-v1-resource usage: hca auth get-v1-resource [-h] --resource-type-name RESOURCE_TYPE_NAME [--next-token NEXT_TOKEN] [--per-page PER_PAGE] [--no-paginate] hca auth get-v1-resource: error: the following arguments are required: --resource-type-name
it looks like this is due to a naming collision on the endpoint, perhaps changing the endpoint to /v1/resources
/v1/resources
I believe due to how the CLI is using the swagger.json this was the correct location to put this, if not i can move it to the dcp-cli repo.
This issue also occurs for get-v1-resource-policy when attempting to list out all available policies for a given resource
get-v1-resource-policy
Error with get-v1-resource
Expected behavior, cli outputs all resources available to the user.
Actual output
it looks like this is due to a naming collision on the endpoint, perhaps changing the endpoint to
/v1/resources
I believe due to how the CLI is using the swagger.json this was the correct location to put this, if not i can move it to the dcp-cli repo.