diff --git a/api/vm.py b/api/vm.py index 2f17828..9baf848 100644 --- a/api/vm.py +++ b/api/vm.py @@ -40,10 +40,10 @@ class OSBootOrder(BaseModel): class OSInfo(BaseModel): model_config = ConfigDict(from_attributes=True) - name:str = Field(alias="os.name", serialization_alias="name") - version:str = Field(alias="os.version-id", serialization_alias="version") - machine:str = Field(alias="os.machine", serialization_alias="architecture") - kernel:str = Field(alias="os.kernel-release", serialization_alias="kernel") + name:str = Field(alias="os.name") + version:str = Field(alias="os.version-id") + machine:str = Field(alias="os.machine") + kernel:str = Field(alias="os.kernel-release") class OS(BaseModel): firmware:configDom.OS.firmwareEnum = Field(default=configDom.OS.firmwareEnum.bios, description="Microprogramme")