swaggerhub-gradle-plugin icon indicating copy to clipboard operation
swaggerhub-gradle-plugin copied to clipboard

Aos version is not recognized

Open NitzanShifrin opened this issue 4 years ago • 1 comments

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!

NitzanShifrin avatar Jul 01 '20 12:07 NitzanShifrin

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

sdavispluto avatar Jan 29 '24 18:01 sdavispluto