Skip to content

Commit

Permalink
Add missing swagger resolver dependency
Browse files Browse the repository at this point in the history
(cherry picked from commit c30b020)
  • Loading branch information
TharmiganK committed Dec 20, 2024
1 parent 0436a12 commit 853a39c
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions gradle/javaProject.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ dependencies {
implementation "io.swagger.core.v3:swagger-core:${swaggerCoreVersion}"
implementation "io.swagger.core.v3:swagger-models:${swaggerCoreVersion}"
implementation "io.swagger.parser.v3:swagger-parser:${swaggerParserVersion}"
implementation "io.swagger.parser.v3:swagger-parser-safe-url-resolver:${swaggerParserVersion}"
implementation "javax.ws.rs:javax.ws.rs-api:2.1.1"
implementation "org.ballerinalang:ballerina-lang:${ballerinaLangVersion}"
implementation "org.ballerinalang:ballerina-parser:${ballerinaLangVersion}"
Expand Down
2 changes: 2 additions & 0 deletions openapi-bal-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ dependencies {
exclude group: "javax.validation", module: "validation-api"
}
implementation "io.swagger.core.v3:swagger-models"
implementation "io.swagger.parser.v3:swagger-parser-safe-url-resolver:${swaggerParserVersion}"
implementation "javax.ws.rs:javax.ws.rs-api"
implementation "com.github.jknack:handlebars"
implementation "info.picocli:picocli"
Expand Down Expand Up @@ -116,6 +117,7 @@ shadowJar {
include(dependency('com.github.jknack:handlebars'))
include(dependency('org.antlr:antlr4:4.5'))
include(dependency('io.swagger.parser.v3:swagger-parser'))
include(dependency('io.swagger.parser.v3:swagger-parser-safe-url-resolver'))
include(dependency('com.atlassian.commonmark:commonmark'))
include(dependency('com.atlassian.commonmark:commonmark-ext-gfm-tables'))
exclude('META-INF/*.SF')
Expand Down
1 change: 1 addition & 0 deletions openapi-build-extension/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ configurations {

dependencies {
implementation "io.swagger.core.v3:swagger-models"
implementation "io.swagger.parser.v3:swagger-parser-safe-url-resolver:${swaggerParserVersion}"
implementation ("io.swagger.parser.v3:swagger-parser:${swaggerParserVersion}") {
exclude group: "io.swagger", module: "swagger-compat-spec-parser"
exclude group: "org.slf4j", module: "slf4j-ext"
Expand Down
2 changes: 2 additions & 0 deletions openapi-cli/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ dependencies {
exclude group: "javax.validation", module: "validation-api"
}
implementation "io.swagger.core.v3:swagger-models"
implementation "io.swagger.parser.v3:swagger-parser-safe-url-resolver:${swaggerParserVersion}"
implementation "javax.ws.rs:javax.ws.rs-api"
implementation "com.github.jknack:handlebars"
implementation "info.picocli:picocli"
Expand Down Expand Up @@ -116,6 +117,7 @@ shadowJar {
include(dependency('com.github.jknack:handlebars'))
include(dependency('org.antlr:antlr4:4.5'))
include(dependency('io.swagger.parser.v3:swagger-parser'))
include(dependency('io.swagger.parser.v3:swagger-parser-safe-url-resolver'))
include(dependency('com.atlassian.commonmark:commonmark'))
include(dependency('com.atlassian.commonmark:commonmark-ext-gfm-tables'))
exclude('META-INF/*.SF')
Expand Down
2 changes: 2 additions & 0 deletions openapi-client-idl-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ dependencies {
exclude group: "javax.validation", module: "validation-api"
}
implementation "io.swagger.core.v3:swagger-models"
implementation "io.swagger.parser.v3:swagger-parser-safe-url-resolver:${swaggerParserVersion}"
implementation "javax.ws.rs:javax.ws.rs-api"
implementation "com.github.jknack:handlebars"
implementation "info.picocli:picocli"
Expand Down Expand Up @@ -116,6 +117,7 @@ shadowJar {
include(dependency('com.github.jknack:handlebars'))
include(dependency('org.antlr:antlr4:4.5'))
include(dependency('io.swagger.parser.v3:swagger-parser'))
include(dependency('io.swagger.parser.v3:swagger-parser-safe-url-resolver'))
include(dependency('com.atlassian.commonmark:commonmark'))
include(dependency('com.atlassian.commonmark:commonmark-ext-gfm-tables'))
exclude('META-INF/*.SF')
Expand Down
4 changes: 3 additions & 1 deletion openapi-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ dependencies {
exclude group: "javax.validation", module: "validation-api"
}
implementation "io.swagger.core.v3:swagger-models"
implementation "io.swagger.parser.v3:swagger-parser-safe-url-resolver:${swaggerParserVersion}"
implementation "javax.ws.rs:javax.ws.rs-api"
implementation "com.github.jknack:handlebars"
implementation "info.picocli:picocli"
Expand Down Expand Up @@ -115,7 +116,8 @@ shadowJar {
dependencies {
include(dependency('com.github.jknack:handlebars'))
include(dependency('org.antlr:antlr4:4.5'))
include(dependency('io.swagger.parser.v3:swagger-parser:2.1.15'))
include(dependency('io.swagger.parser.v3:swagger-parser'))
include(dependency('io.swagger.parser.v3:swagger-parser-safe-url-resolver'))
include(dependency('com.atlassian.commonmark:commonmark'))
include(dependency('com.atlassian.commonmark:commonmark-ext-gfm-tables'))
exclude('META-INF/*.SF')
Expand Down
2 changes: 2 additions & 0 deletions openapi-ls-extension/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ dependencies {
exclude group: "javax.validation", module: "validation-api"
}
implementation "io.swagger.core.v3:swagger-models"
implementation "io.swagger.parser.v3:swagger-parser-safe-url-resolver:${swaggerParserVersion}"
implementation "javax.ws.rs:javax.ws.rs-api"
implementation "com.github.jknack:handlebars"
implementation "info.picocli:picocli"
Expand Down Expand Up @@ -118,6 +119,7 @@ shadowJar {
include(dependency('com.github.jknack:handlebars'))
include(dependency('org.antlr:antlr4:4.5'))
include(dependency('io.swagger.parser.v3:swagger-parser'))
include(dependency('io.swagger.parser.v3:swagger-parser-safe-url-resolver'))
include(dependency('com.atlassian.commonmark:commonmark'))
include(dependency('com.atlassian.commonmark:commonmark-ext-gfm-tables'))
exclude('META-INF/*.SF')
Expand Down
2 changes: 2 additions & 0 deletions openapi-validator/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ configurations {

dependencies {
implementation "io.swagger.core.v3:swagger-models"
implementation "io.swagger.parser.v3:swagger-parser-safe-url-resolver:${swaggerParserVersion}"
implementation ("io.swagger.parser.v3:swagger-parser:${swaggerParserVersion}") {
exclude group: "io.swagger", module: "swagger-compat-spec-parser"
exclude group: "org.slf4j", module: "slf4j-ext"
Expand Down Expand Up @@ -126,6 +127,7 @@ shadowJar {
include(dependency('io.swagger.parser.v3:swagger-parser'))
include(dependency('io.swagger.parser.v3:swagger-parser-core'))
include(dependency('io.swagger.parser.v3:swagger-parser-v3'))
include(dependency('io.swagger.parser.v3:swagger-parser-safe-url-resolver'))
exclude('META-INF/*.SF')
exclude('META-INF/*.DSA')
exclude('META-INF/*.RSA')
Expand Down

0 comments on commit 853a39c

Please sign in to comment.