Skip to content

Commit

Permalink
- fixes formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
baywet committed Feb 23, 2024
1 parent eae9f23 commit 02c17d2
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -339,17 +339,17 @@ public async Task WritesDeSerializerBodyWithDefaultValue()
Parent = parentClass,
};
var enumOption = new CodeEnumOption() { Name = "SomeOption" };
propertyEnum.AddOption(enumOption);
propertyEnum.AddOption(enumOption);
var codeNamespace = parentClass.Parent as CodeNamespace;
codeNamespace.AddEnum(propertyEnum);
parentClass.AddProperty(new CodeProperty
{
Name = "propWithDefaultEnum",
Name = "propWithDefaultEnum",
DefaultValue = enumOption.Name,
Type = new CodeType
{
Name = "EnumTypeWithOption",
TypeDefinition = propertyEnum,
TypeDefinition = propertyEnum,
}
});

Expand Down

0 comments on commit 02c17d2

Please sign in to comment.