swaggerhub-gradle-plugin
swaggerhub-gradle-plugin copied to clipboard
Aos version is not recognized
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!
Did you figure it out? I am getting the same error, using curl
directly and not the Gradle plug-in.