danielgtaylor / openapi-cli-generator

Generate a CLI from an OpenAPI 3 specification
MIT License
181 stars 49 forks source link

LoadSwaggerFromYAMLData replaced #20

Closed danielklim closed 5 years ago

danielklim commented 5 years ago

Fixes https://github.com/danielgtaylor/openapi-cli-generator/issues/19

danielklim commented 5 years ago

Confirmed go install works with the mod. Not sure why build is failing -- something wrong in test.sh?

RaviTezu commented 5 years ago

@danielklim Gopkg.lock file changes should look something like this:

diff --git a/Gopkg.lock b/Gopkg.lock
index e511750..5c5e9b8 100644
--- a/Gopkg.lock
+++ b/Gopkg.lock
@@ -79,14 +79,14 @@

 [[projects]]
   branch = "master"
-  digest = "1:3e62095b858d5fb21d6e9b3254f26edacb2a77d666d49753be97bcf892b09c72"
+  digest = "1:837de1c55985477eaddf0662efe610be0582da86c80ecd5c98d33c2a5aa7a926"
   name = "github.com/getkin/kin-openapi"
   packages = [
     "jsoninfo",
     "openapi3",
   ]
   pruneopts = "UT"
-  revision = "44c981756c70d8724edaea8b7662bbb5245088bb"
+  revision = "e6aa6352832d5c2b0bc28bc5e1065db6cc18d221"

 [[projects]]
   digest = "1:2cd7915ab26ede7d95b8749e6b1f933f1c6d5398030684e6505940a10f31cfda"