Expand description
Specification versions implemented by this crate.
Each constant identifies the OpenAPI / AsyncAPI document version that the corresponding module implements. All four EDI-Energy API-Webdienste are currently at version 1.0.0 — the only tag in either spec repository.
The electricity specs live in github.com/EDI-Energy/api-electricity; the
Verzeichnisdienst is a separate repository,
github.com/EDI-Energy/api-directory-service.
See RELEASE_2_0_0_STATUS for why 2.0.0 is tracked but not implemented.
Use these constants in server implementations to populate
ApiRecord::major_version when self-registering at the
Verzeichnisdienst (the directory expects an i32 majorVersion field
whose value is 1 for all current specs).
use energy_api::spec_version;
assert_eq!(spec_version::DIRECTORY_SERVICE, "1.0.0");
assert_eq!(spec_version::DIRECTORY_WEBSOCKET, "1.0.0");
assert_eq!(spec_version::CONTROL_MEASURES, "1.0.0");
assert_eq!(spec_version::MALO_IDENT, "1.0.0");Constants§
- CONTROL_
MEASURES controlMeasuresV1.yaml— EDI-Energy Control Measures API.- DIRECTORY_
SERVICE directoryServiceV1.yaml— EDI-Energy Verzeichnisdienst REST API.- DIRECTORY_
WEBSOCKET webSocketV1.yaml— EDI-Energy Verzeichnisdienst WebSocket subscription API.- MAJOR
- The
majorVersionfield value for all current specs as expected by the Verzeichnisdienst (ApiRecord::major_version: i32). - MALO_
IDENT maloIdentV1.yaml— EDI-Energy MaLo Identification API.- RELEASE_
2_ 0_ 0_ SCOPE - What 2.0.0 actually changes, from the consultation branch.
- RELEASE_
2_ 0_ 0_ STATUS - Why this crate targets 1.0.0 and not the announced 2.0.0.