Skip to content

Multiple idShort Parameters in GetAllAssetAdministrationShellsByIdShort possible #1

@sebbader

Description

@sebbader

Finding: SB#1

What?

The attributes 'style: form' and 'explode: true' lead to the option to add the idShort parameter several times in the GET request, e.g. http://localhost/shells?idShort=id-short-1&idShort=id-short-2
(see https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#parameterObject)

What is the semantics between the two idShort values?

Proposed Change:

Mark the parameter as an array in SwaggerHub and declare an OR semantics between the values of the one parameter group but an AND semantics between different parameter groups

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions