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

interface attribute does not follow the naming pattern in Endpoint #247

Open
mhrimaz opened this issue Feb 11, 2024 · 0 comments
Open

interface attribute does not follow the naming pattern in Endpoint #247

mhrimaz opened this issue Feb 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mhrimaz
Copy link

mhrimaz commented Feb 11, 2024

In Specification Part 2 page 81 we have:
image

However, the IRI does not follow any naming pattern in Endpoint:

@IRI("https://admin-shell.io/aas/3/0/Endpoint/_interface")

The reason is probably that interface clashes with a java keyword. So, for technical reasons, it is not possible to have a variable with that name, but why should the format of the IRI violate the pattern?

Furthermore, how can we be sure that other attributes are not keywords in other programming languages that cause similar problems? For example, min might be a keyword in python as well and cause issues there. Should we change the IRI of it to https://admin-shell.io/aas/3/0/LevelType/_min?

@twebermartins twebermartins added the bug Something isn't working label Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants