Skip to content

Commit

Permalink
migrate generated open api classes into src folder #3237
Browse files Browse the repository at this point in the history
  • Loading branch information
hamidonos committed Jul 2, 2024
1 parent a2ea607 commit fad6140
Show file tree
Hide file tree
Showing 82 changed files with 24,092 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sechub-api-java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,16 @@ dependencies {

/* END of copied part */

/*
// This will be used again after we migrate to the new sechub-openapi-java module
sourceSets {
main {
java {
srcDir 'gen/src/main/java'
}
}

}
*/

def specFilePath = "$projectDir/src/main/resources/reduced-openapi3.json"

Expand Down Expand Up @@ -133,7 +135,7 @@ tasks.withType(org.openapitools.generator.gradle.plugin.tasks.GenerateTask) {
outputs.cacheIf { false }
}

ext.apiPublishNecessary = "${project.version}" != "0.0.0";
ext.apiPublishNecessary = "${project.version}" != "0.0.0"

task generateAPIJava(){
dependsOn callOpenAPIJavaGenerator
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading

0 comments on commit fad6140

Please sign in to comment.