skinfer package¶
Submodules¶
skinfer.draft4_generator module¶
-
class
skinfer.draft4_generator.
IncompleteDraft4SchemaGenerator
(base_object)[source]¶ Bases:
json_schema_generator.generator.SchemaGenerator
Patching json_schema_generator.SchemaGenerator to generate Draft4 valid schemas
See original at: https://github.com/perenecabuto/json_schema_generator/blob/master/json_schema_generator/generator.py
This is a hack, just a copy of the method from the base class with a few changes to generate a valid Draft4 schema.
We should implement a full Draft4SchemaGenerator – probably upstream.