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

Aos version is not recognized #7

Open
NitzanShifrin opened this issue Jul 1, 2020 · 1 comment
Open

Aos version is not recognized #7

NitzanShifrin opened this issue Jul 1, 2020 · 1 comment

Comments

@NitzanShifrin
Copy link

NitzanShifrin commented Jul 1, 2020

Hey, when using the plugin, I looked at https://github.com/swagger-api/swaggerhub-gradle-plugin/pull/5/files.
the AOS version is not recognized as expected even though the JSON file starts {"openapi":"3.0.1",

swaggerhubUpload {
api 'xxx'
owner 'xxx'
version '1.0.0'
isPrivate true
inputFile "${project.rootDir}/build/docs/swagger.json"
token swggerhubToken
}

but when going into swaggerHub it suggests "Update Editor to OpenAPI 3.0?" (it is uploaded as version 2)

thanks!

@sdavispluto
Copy link

Did you figure it out? I am getting the same error, using curl directly and not the Gradle plug-in.

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