podhmo
podhmo
```yaml definitions: person: properties: name: type: string age: type: integer required: -name # not - name ```
```yaml definitions: Person: memo: $ref: "#/definitions//Memo" # not /Memo Memo: ... ```
``` { "definitions": { "Box": { "additionalProperties": { "$ref": "#definitions/value" // #/definitions/value is correct value }, "properties": { "name": { "type": "string" } } }, "value": { "type": "integer" }...
``` "children4": { "type": "array", "items": { "name": { "type": "string" }, "age": { "type": "integer" }, "children": { "type": "array", "items": { "$ref": "#/components/schemas/Person" } } } } ```
the rest of #1
- 📝 self recursion, not import symbol - 📝 mutual recursion, what do? - 📝 inline definition, emit same files - :memo: skip primitive definitions
todo - [x] mutual reference - [x] skip primitive definitions
support schemas only, yet.
todo - responses - paths
Hmm, I'll add to my task queue.