RoundingWellOS / schematic

(NOT MAINTAINED) Generate POPO from JSON Schema
Apache License 2.0
17 stars 6 forks source link

No support for `anyOf` #14

Open theofidry opened 5 years ago

theofidry commented 5 years ago

I wanted to try it out on Infection but looks like its choking on the anyOf type:

"type": {
                        "anyOf": [
                            {
                                "type": "boolean"
                            },
                            {
                                "type": "object",
                                "additionalProperties": false,
                                "properties": {
                                    "ignore": {
                                        "type": "array",
                                        "items": {"type": "string"}
                                    },
                                    "settings": {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "properties": {
                                            "in_array": {"type": "boolean"},
                                            "array_search": {"type": "boolean"}
                                        }
                                    }
                                }
                            }
                        ]
                    }
shadowhand commented 5 years ago

This package is very limited and probably shouldn't be used for anything serious.

theofidry commented 5 years ago

Damn too bad, it looked promising^^

shadowhand commented 5 years ago

It really needs a maintainer... if you want to fork it.