Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing /shells/{aasIdentifier}/submodels operation in OpenAPI description #309

Open
juileetikekar opened this issue Aug 12, 2024 · 1 comment

Comments

@juileetikekar
Copy link
Collaborator

The OpenAPI Description for AssetAdministrationShellRepositoryServiceSpecification consists of operations including superpaths related to a single submodel within AAS or submodel-elements (screenshot in the end). However, it does not consists of operations for all the submodels within AAS (/shells/{aasIdentifier}/submodels).

For instance, the operation GET /shells/{aasIdentifier}/submodels will return all the submodels within an AAS.

image

Therefore, my question would be if the oprration "/shells/{aasIdentifier}/submodels" is missing intentionally.

@BirgitBoss
Copy link
Collaborator

I think this is on purpose: An AAS just contains references to submodels (i.e. just their ID), not the submodels themselves.
This is why there is no GET /shells/{aasIdentifier}/submodels but only GET /shells/{aasIdentifier}/submodel-refs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants