Skip to content

Commit

Permalink
fix: Meta property generation in dotnet
Browse files Browse the repository at this point in the history
  • Loading branch information
krvital committed Oct 16, 2024
1 parent 1e32929 commit 5a8f654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aidbox_sdk/generator/dotnet.clj
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
(= (:type element) "Meta")
(if (:profile element)
(format "public new Meta Meta { get; } = new() { Profile = [\"%s\"] };" (:profile element))
(format "public %s%s Meta { get; set; }" required' name'))
(format "public %sMeta %s { get; set; }" required' name'))

:else
(str "public " type " " name' " { get; set; }"
Expand Down

0 comments on commit 5a8f654

Please sign in to comment.