Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to Upload #56

Open
itsmesuniljacob opened this issue Jul 7, 2020 · 1 comment
Open

Not able to Upload #56

itsmesuniljacob opened this issue Jul 7, 2020 · 1 comment

Comments

@itsmesuniljacob
Copy link

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
Copy link

I managed to get this working correctly by moving the configuration for upload out of the executions block.

Everything worked as expected after this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants