79344560

Date: 2025-01-10 03:53:56
Score: 0.5
Natty:
Report link

If you're using Draft-2020-12, change this line.

additionalProperties: false to unevaluatedProperties: false

allOf and additionaProperties don't really work well together with the way you are trying to use it.

If you just use a $ref without the allOf, does your generator create two classes?

{
  "$ref": "#/$defs/PartialResource"
}
Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Jeremy Fiel