Skip to content

GET /description API does not return Enum of profiles #546

@agg3fe

Description

@agg3fe

What happens?

In the IDTA swagger here, We found out that there is a bug in the swagger design. In the 'GET /description' API response, there should have been written ‘Enum’ for the profiles response and not ‘example’, so that all the profiles can be read as the Enum for the response by the swagger reader and add it to the API response. Examples are already given below that section. screen shot is also attached.

Image

...

Why is this wrong?

Since profiles are not mention under 'Enum', it cannot be read as Enum for response to the API. In the older version, it is written it as an ‘Enum’ value, and not example.

How should it be fixed?

'example' should be changed to 'Enum'
...

  • I have signed the required Developer Certificate of Origin (DCO) already.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions