Skip to content

Discovery-Lookup not consistantly specified in Part 2 and OpenAPI spec #301

@ChrisKoerber

Description

@ChrisKoerber

What happens?

Current spec Part 2 v3.0.2 specifies the input parameter assetIds for operation GetAllAssetAdministrationShellIdsByAssetLink as mandatory whereas the OpenAPI spec declares it as optional.

image
image

https://app.swaggerhub.com/apis/Plattform_i40/DiscoveryServiceSpecification/V3.0.2_SSP-001#/Asset%20Administration%20Shell%20Basic%20Discovery%20API/GetAllAssetLinksById

Why is this wrong?

The input param can either be optional or mandatory.

How should it be fixed?

I assume it should be optional, because the existence of pagination (limit and cursor params) in this operation indicates the possibility of a bigger returned result set. Also current BaSyx Web UI calls the Discovery without any assetId.

If so (pls verify), the Part 2 spec has to be change to
assetIds: mand. no, Card. 1..*

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions