Skip to content

Set aas-core-codegen to 0.0.27rc5 and meta 796ae74 - #6

Merged
mristin merged 1 commit into
mainfrom
Update-to-aas-core-codegen-0.0.27rc5
Oct 31, 2026
Merged

mristin merged 1 commit into
mainfrom
Update-to-aas-core-codegen-0.0.27rc5

Conversation

@mristin

@mristin mristin commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

We update to aas-core-codegen 0.0.27rc5 and to the latest aas-core-meta 796ae74, and re-generate the code. The meta-model file itself is pinned to 543f3c0, the last commit which changed v3_2.py.

The relevant changes are:

  • JSON-able values admit JSON null (None) at any depth (aas-core-codegen#873, aas-core-meta#416), e.g., for an empty element of a submodel element list in the ValueOnly JSON. An optional JSON-able property holding a null counts as absent. In XML-RPC, a null is written as <nil/>.

  • The results of GetSubmodelsValueResult and GetSubmodelElementsValueResult are arrays of ValueOnly JSON objects instead of a single JSON object (aas-core-meta#415). We deviate from the OpenAPI since V3.0.4 (aas-specs-api#414), which we suspect to be buggy, and follow BaSyx Go and the prose of the specification.

We update to aas-core-codegen 0.0.27rc5 and to the latest
aas-core-meta 796ae74, and re-generate the code. The meta-model file
itself is pinned to 543f3c0, the last commit which changed ``v3_2.py``.

The relevant changes are:

* JSON-able values admit JSON null (``None``) at any depth
  ([aas-core-codegen#873], [aas-core-meta#416]), *e.g.*, for an empty
  element of a submodel element list in the ValueOnly JSON. An optional
  JSON-able property holding a null counts as absent. In XML-RPC, a null
  is written as ``<nil/>``.

* The results of ``GetSubmodelsValueResult`` and
  ``GetSubmodelElementsValueResult`` are arrays of ValueOnly JSON
  objects instead of a single JSON object ([aas-core-meta#415]). We
  deviate from the OpenAPI since V3.0.4 ([aas-specs-api#414]), which we
  suspect to be buggy, and follow [BaSyx Go] and the prose of
  the specification.

[aas-core-codegen#873]: eclipse-aascw/aas-core-codegen#873
[aas-core-meta#416]: eclipse-aascw/aas-core-meta#416
[aas-core-meta#415]: eclipse-aascw/aas-core-meta#415
[aas-specs-api#414]: admin-shell-io/aas-specs-api#414
[BaSyx Go]: https://github.com/eclipse-basyx/basyx-go-components
@mristin
mristin merged commit e2a11e0 into main Oct 31, 2026
2 of 7 checks passed
@mristin
mristin deleted the Update-to-aas-core-codegen-0.0.27rc5 branch October 31, 2026 18:42
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

Successfully merging this pull request may close these issues.

1 participant