From b6fa9606ac18d04732e4612c956964eb026f59c5 Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Fri, 15 Nov 2024 12:42:01 +0100 Subject: [PATCH] move all API files into resources/api-definition --- build.gradle | 4 ++-- src/main/resources/{ => api-definition}/api-definition.yaml | 0 src/main/resources/{ => api-definition}/api-mappings.yaml | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename src/main/resources/{ => api-definition}/api-definition.yaml (100%) rename src/main/resources/{ => api-definition}/api-mappings.yaml (100%) 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