@Override
        public void resetAfterSchemaGenerationFinished() {
            this.mainType = null;
        }
Example created in response to <a href="https://github.com/victools/jsonschema-generator/issues/319">#319</a>.
<br/>
Based on Swagger2 {@code @Schema} annotations, allowing to reference "external" files.
jsonschema-examples/src/main/java/com/github/victools/jsonschema/examples/ExternalRefAnnotationExample.java