You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The example in the enum extensions sections of the docs needs to have `--enum` specified on the command line to generate as expected, so I added a note for that so future developers aren't as confused as I was.
Copy file name to clipboardExpand all lines: docs/advanced.md
+2
Original file line number
Diff line number
Diff line change
@@ -68,6 +68,8 @@ enum ErrorCode {
68
68
69
69
:::
70
70
71
+
To generate in this fashion, `--enum` needs to be specified on the [command line](cli.md#flags).
72
+
71
73
Alternatively you can use `x-enumNames` and `x-enumDescriptions` ([NSwag/NJsonSchema](https://github.com/RicoSuter/NJsonSchema/wiki/Enums#enum-names-and-descriptions)).
0 commit comments