-
Notifications
You must be signed in to change notification settings - Fork 101
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
changes for go-swagger #2054 - extension fields in info.contact do no… #113
Conversation
…t propagate to embedded spec
@@ -14,11 +14,41 @@ | |||
|
|||
package spec | |||
|
|||
import ( | |||
"encoding/json" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
File is not goimports
-ed (from goimports
)
"encoding/json" | |
"encoding/json" | |
@@ -14,10 +14,40 @@ | |||
|
|||
package spec | |||
|
|||
import ( | |||
"encoding/json" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
File is not goimports
-ed (from goimports
)
"encoding/json" | |
"encoding/json" | |
@@ -15,24 +15,33 @@ | |||
package spec | |||
|
|||
import ( | |||
"encoding/json" | |||
"github.com/stretchr/testify/assert" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
File is not goimports
-ed (from goimports
)
"github.com/stretchr/testify/assert" |
…t propagate to embedded spec
Codecov Report
@@ Coverage Diff @@
## master #113 +/- ##
=========================================
Coverage ? 58.42%
=========================================
Files ? 24
Lines ? 2189
Branches ? 0
=========================================
Hits ? 1279
Misses ? 736
Partials ? 174
Continue to review full report at Codecov.
|
…t propagate to embedded spec Signed-off-by: kul-amr <amruta9.kulkarni@gmail.com>
…t propagate to embedded spec Signed-off-by: kul-amr <amruta9.kulkarni@gmail.com>
…r_2054_spec Signed-off-by: Amruta Kulkarni <amruta9.kulkarni@gmail.com>
From last commit at OAI/OpenAPI-Specification@88cd944. Signed-off-by: kul-amr <amruta9.kulkarni@gmail.com>
`~/go/bin/go-bindata -pkg spec -prefix schemas schemas/jsonschema-draft-04.json schemas/v2/schema.json` Signed-off-by: kul-amr <amruta9.kulkarni@gmail.com>
This PR bumbs go-yaml to v2.2.4, which has the ddos vulnerability fixed. Issue: go-yaml preceding 2.2.4 had vulnerability to ddos attack via billion laughs bomb. Such attack lead to program to be unresponsive. Issue has been described in https://raesene.github.io/blog/2019/10/15/From-stackoverflow-to-CVE/ Signed-off-by: Petr Kotas <petr.kotas@gmail.com> Signed-off-by: kul-amr <amruta9.kulkarni@gmail.com>
Fixes ref rebasing when following nested $ref in Paths section Signed-off-by: Frederic BIDON <fredbi@yahoo.com> Signed-off-by: kul-amr <amruta9.kulkarni@gmail.com>
…t propagate to embedded spec Signed-off-by: kul-amr <amruta9.kulkarni@gmail.com>
…t propagate to embedded spec Signed-off-by: kul-amr <amruta9.kulkarni@gmail.com>
can you run: |
Fix examples to follow breaking changes in go-openapi/spec#113
Fix examples to follow breaking changes in go-openapi/spec#113
Fix examples to follow breaking changes in go-openapi/spec#113
This is part of bug fix for go-swagger/go-swagger#2054. This fix will include extension/custom fields from Contact and License to the spec served by the generated server.