79333792

Date: 2025-01-06 17:11:45
Score: 1.5
Natty:
Report link

Problem has been resolved by using Swagger to generate the json file. Also as mentioned in one of the links from @dbc, [JsonDerivedType] needed to be added to all classes and interfaces in the inheritance hierarchy. This failed when using app.MapOpenApi() due to the duplicate key issue.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Chris K