class DefinitionDocumentResolverFromDefinition extends DefinitionDocumentResolverDefault {

    public String apply(String definitionName) {
        String defaultResolver = super.apply(definitionName);

        if (defaultResolver != null && config.isSeparatedDefinitionsEnabled())
            return defaultString(config.getInterDocumentCrossReferencesPrefix()) + markupDocBuilder.addFileExtension(normalizeName(definitionName));
        else
            return defaultResolver;
    }

    public  DefinitionDocumentResolverFromDefinition(Swagger2MarkupConverter.SwaggerContext context);

}