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

Acknowledge fix #1816 with go-openapi updates #1818

Merged
merged 2 commits into from
Nov 29, 2018

Conversation

fredbi
Copy link
Contributor

@fredbi fredbi commented Nov 27, 2018

> NOTE: this is WIP and would require go-openapi/spec#87 and go-openapi/loads#22 to be merged.

Signed-off-by: Frederic BIDON fredbi@yahoo.com

@@ -447,3 +447,24 @@ func TestServer_Issue1746(t *testing.T) {
assertRegexpInCode(t, `go:generate swagger generate server.+\-\-name\s+ExampleSwaggerServer`, string(gulp))
assertRegexpInCode(t, `go:generate swagger generate server.+\-\-spec\s+`+tgtSpec, string(gulp))
}

func TestServer_Issue1816(t *testing.T) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

451-470 lines are duplicate of generator/server_test.go:168-187 (from dupl)

@codecov
Copy link

codecov bot commented Nov 27, 2018

Codecov Report

Merging #1818 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1818   +/-   ##
=======================================
  Coverage   80.47%   80.47%           
=======================================
  Files          38       38           
  Lines        7539     7539           
=======================================
  Hits         6067     6067           
  Misses        996      996           
  Partials      476      476

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9acfd4b...556e634. Read the comment docs.

@fredbi fredbi force-pushed the fix-1816-embedded-spec branch 2 times, most recently from 4de9bf3 to d6efc19 Compare November 28, 2018 01:11
@fredbi fredbi changed the title WIP: acknowledge fix #1816 with go-openapi updates Acknowledge fix #1816 with go-openapi updates Nov 28, 2018
* update vendor:  go-openapi/spec, go-openapi/loads

Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Copy link
Contributor

@kenjones-cisco kenjones-cisco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@kenjones-cisco
Copy link
Contributor

@fredbi @casualjim Anything else required for this to be merged?

@casualjim casualjim merged commit 33c899c into go-swagger:master Nov 29, 2018
@fredbi fredbi deleted the fix-1816-embedded-spec branch December 3, 2018 09:44
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

Successfully merging this pull request may close these issues.

generated embedded_spec.go removing refs
4 participants