diff options
author | egernug <gerard.nugent@est.tech> | 2024-09-27 13:33:24 +0100 |
---|---|---|
committer | egernug <gerard.nugent@est.tech> | 2024-09-27 13:33:24 +0100 |
commit | 4baa75b06dcfb9365a8ea5cde03d77d7f21fa01c (patch) | |
tree | 0217f9c5ca47b5b2bacddc48ddd74cf0200f08f0 /cps-rest/pom.xml | |
parent | 81eb7dfc2f100a72692d2cbd7ce16540ee0a0fd4 (diff) |
Fix inputSpec for openapi code gen
Existing inputSpec only accessible from cps root. Changing path to be accessible elsewhere
Issue-ID: CPS-2332
Change-Id: I94ada93ea3c88d2fdca84d49c21e1ffc2923f4b2
Signed-off-by: egernug <gerard.nugent@est.tech>
Diffstat (limited to 'cps-rest/pom.xml')
-rw-r--r-- | cps-rest/pom.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cps-rest/pom.xml b/cps-rest/pom.xml index 5151a416b8..f115fdfd52 100644 --- a/cps-rest/pom.xml +++ b/cps-rest/pom.xml @@ -141,7 +141,7 @@ <goal>generate</goal> </goals> <configuration> - <inputSpec>docs/api/swagger/cps/openapi.yaml</inputSpec> + <inputSpec>${project.basedir}/../docs/api/swagger/cps/openapi.yaml</inputSpec> <invokerPackage>org.onap.cps.rest.controller</invokerPackage> <modelPackage>org.onap.cps.rest.model</modelPackage> <apiPackage>org.onap.cps.rest.api</apiPackage> @@ -165,7 +165,7 @@ </goals> <phase>compile</phase> <configuration> - <inputSpec>docs/api/swagger/cps/openapi.yaml</inputSpec> + <inputSpec>${project.basedir}/../docs/api/swagger/cps/openapi.yaml</inputSpec> <generatorName>openapi-yaml</generatorName> <configOptions> <outputFile>openapi.yaml</outputFile> |