From c066a1896a9456e5a7dd4bf5591d6fe5225fe5ff Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Sat, 7 Sep 2024 11:05:46 +0200 Subject: [PATCH] Moved the OpenAPI specification document and the Open API generator configuration to the root folder of the target in the package. --- Package.swift | 3 --- {Resources => Sources}/openapi-generator-config.yaml | 0 {Resources => Sources}/openapi.yaml | 0 3 files changed, 3 deletions(-) rename {Resources => Sources}/openapi-generator-config.yaml (100%) rename {Resources => Sources}/openapi.yaml (100%) diff --git a/Package.swift b/Package.swift index 0c5dbb3..893bd34 100644 --- a/Package.swift +++ b/Package.swift @@ -47,9 +47,6 @@ let package = Package( ) ], path: "Sources", - resources: [ - .process("../Resources") - ], plugins: [ .plugin( name: "OpenAPIGenerator", diff --git a/Resources/openapi-generator-config.yaml b/Sources/openapi-generator-config.yaml similarity index 100% rename from Resources/openapi-generator-config.yaml rename to Sources/openapi-generator-config.yaml diff --git a/Resources/openapi.yaml b/Sources/openapi.yaml similarity index 100% rename from Resources/openapi.yaml rename to Sources/openapi.yaml