-
Notifications
You must be signed in to change notification settings - Fork 380
Description
Thanks for raising a Swagger2Markup issue. Please provide a brief description of your problem along with the Swagger2Markup version you are using. If possible, please also consider putting together a complete Swagger specification that reproduces the issue. It's better if the Swagger specification is small and isolate the issue.
Swagger2Markup version: 2.0.0-SNAPSHOT
Problem description:
I just upgraded my swagger2markup to 2.0.0-SNAPSHOT
However, the Dynamic file import extension is not showing when trying to view the output.
The documents/artifacts are fine in pdf and html format respectively but the dynamic contents are missing.
task convertswagger(type: io.github.swagger2markup.tasks.Swagger2MarkupTask,
group: 'test',
description: 'test') {
swaggerInputFile file("${buildDir}/swagger/test.yaml")
outputDir asciiDocOutputDir
config = ['swagger2markup.markupLanguage' : 'ASCIIDOC',
'swagger2markup.pathsGroupedBy' : 'TAGS',
'swagger2markup.tagOrderBy': 'AS_IS',
'swagger2markup.extensions.dynamicDefinitions.contentPath' : file('src/docs/asciidoc/extensions/definitions').absolutePath,
'swagger2markup.extensions.dynamicOverview.contentPath' : file('src/docs/asciidoc/extensions/overview').absolutePath,
'swagger2markup.extensions.dynamicPaths.contentPath' : file('src/docs/asciidoc/extensions/paths').absolutePath,
'swagger2markup.extensions.dynamicSecurity.contentPath' : file('src/docs/asciidoc/extensions/security/').absolutePath]
}
I'm using this template https://github.com/Swagger2Markup/swagger2markup-gradle-project-template/blob/master/build.gradle