[TS] Enum default value deserialization #4216
Labels
help wanted
Issue caused by core project dependency modules or library
type:bug
A broken experience
TypeScript
Pull requests that update Javascript code
Milestone
I have an OpenAPI type definition
geography
with an enum fieldtype
that has a default valueStates
:I see a build error in the generated TypeScript client model code line in /client/models/index.ts in the method
deserializeIntoGeography
('Geography_type' only refers to a type, but is being used as a value):and I am able to fix it by changing it to:
using Kiota dotnet tool version 1.11.1+86b3a623dc3fb6b55fed6a49519ec837f0fbc02c
The text was updated successfully, but these errors were encountered: