class DefinitionDocumentNameResolver extends DocumentResolver {

    public String apply(String definitionName) {
        if (config.isSeparatedDefinitionsEnabled())
            return new File(config.getSeparatedDefinitionsFolder(), markupDocBuilder.addFileExtension(normalizeName(definitionName))).getPath();
        else
            return markupDocBuilder.addFileExtension(config.getDefinitionsDocument());
    }

    public  DefinitionDocumentNameResolver(Swagger2MarkupConverter.SwaggerContext context);

}