diff --git a/build.gradle b/build.gradle index 04edf341..876ff878 100644 --- a/build.gradle +++ b/build.gradle @@ -118,8 +118,8 @@ openapiProcessor { springRoot { processorName 'spring' processor 'io.openapiprocessor:openapi-processor-spring:2022.5' - apiPath "$projectDir/src/main/resources/api-definition.yaml" - mapping "$projectDir/src/main/resources/api-mappings.yaml" + apiPath "$projectDir/src/main/resources/api-definition/api-definition.yaml" + mapping "$projectDir/src/main/resources/api-definition/api-mappings.yaml" targetDir "$buildDir/generated/sources/openapi-javax" showWarnings true openApiNullable true diff --git a/src/main/resources/api-definition.yaml b/src/main/resources/api-definition/api-definition.yaml similarity index 100% rename from src/main/resources/api-definition.yaml rename to src/main/resources/api-definition/api-definition.yaml diff --git a/src/main/resources/api-mappings.yaml b/src/main/resources/api-definition/api-mappings.yaml similarity index 100% rename from src/main/resources/api-mappings.yaml rename to src/main/resources/api-definition/api-mappings.yaml