Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 331 Bytes

File metadata and controls

11 lines (9 loc) · 331 Bytes

Notes

  • Annotate the enums used in APIs with [JsonConverter(typeof(JsonStringEnumConverter))] so that they will show properly in the OpenAPI definition and also the generated TypeScript code from the OpenAPI...
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum State {
  Development,
  Production,
}