Not able to Upload
itsmesuniljacob opened this issue · 1 comments
itsmesuniljacob commented
Hi,
Am trying to do upload of my proxy to private api governance. But its not uploading. Below is the configuration in the pom.xml:
<plugin>
<groupId>io.swagger</groupId>
<artifactId>swaggerhub-maven-plugin</artifactId>
<version>1.0.8</version>
<executions>
<execution>
<phase>deploy</phase>
<goals>
<goal>upload</goal>
</goals>
<configuration>
<api>demo-apigee</api>
<owner>Digital-Retail</owner>
<version>0.2</version>
<inputFile>sunil/demo-apigee-01.json</inputFile>
<token>123xyz</token>
<host>api-governance-corp.falabella.com</host>
<uploadType>inputFile</uploadType>
<basepath>v1</basepath>
</configuration>
</execution>
</executions>
</plugin>
jozefKruszynski commented
I managed to get this working correctly by moving the configuration for upload out of the executions block.
Everything worked as expected after this