Skip to content

unable to upload v1/resource/{resource_type_name} #383

Description

@amarjandu

I believe the regex used to verify the resource_type_name is verified against the wrong schema...
I'm unable to call the command
hca auth post-v1-resource --resource-type-name dss:project

Within the YAML:

    resource_type_name:
      name: resource_type_name
      in: path
      required: true
      description: The name of a type of resources to which a resource policy can be applied.
      schema:
        $ref: '#/components/schemas/custom_identifier'

i think the ref should change to
$ref: '#/components/schemas/resource_name'

But i could be mistaken // not using the api correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions