angular-odata 0.146.0 → 0.146.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2138,8 +2138,8 @@ class ODataEnumTypeParser extends ODataAnnotatable {
2138
2138
  title: this.name,
2139
2139
  uniqueItems: true,
2140
2140
  items: {
2141
- type: JsonSchemaType.string,
2142
- enum: this._fields.map((f) => f.name),
2141
+ type: JsonSchemaType.integer,
2142
+ enum: this._fields.map((f) => f.value),
2143
2143
  },
2144
2144
  }
2145
2145
  : {