这是indexloc提供的服务,不要输入任何密码
Skip to content
This repository was archived by the owner on Jul 23, 2021. It is now read-only.

Conversation

@tchock
Copy link
Contributor

@tchock tchock commented Feb 10, 2017

The problem was, that the change in 0.5.6 didn't account an already existing ResponseMethods array with completely different entries.

Now mixed existing and new ones are possible.
Like response 200 and 400 are existing, and in the documentation part 200 and 404 are described, but not 400.

Also potentially empty existing MethodeResponses array should be no problem

fixes #17

@tchock
Copy link
Contributor Author

tchock commented Feb 10, 2017

@dperjar, @cdichiara, I think I fixed the problem causing your bug described in #17. Can you please pull this version here and try it out?

When everything works again I will merge this with master and push this to the npm repo.

@tchock tchock changed the title fix problem with potentially existing method responses and new ones fix: solve problem with potentially existing method responses and new ones Feb 10, 2017
@dperjar
Copy link
Contributor

dperjar commented Feb 10, 2017

@tchock If I tested this correctly (I just downloaded the fix branch and swapped out my src folder in the node module), I believe #17 is fixed with this pull request. Very much appreciated.

@tchock
Copy link
Contributor Author

tchock commented Feb 12, 2017

@dperjar Thanks for testing this! I will update the version and push this to the npm repo

@codecov-io
Copy link

Codecov Report

Merging #18 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #18   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           4      4           
  Lines         157    156    -1     
  Branches       20     20           
=====================================
- Hits          157    156    -1
Impacted Files Coverage Δ
src/models.js 100% <100%> (ø)

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 58a14fc...9a7c16b. Read the comment docs.

@tchock tchock merged commit 712549d into master Feb 12, 2017
@tchock tchock deleted the fix/mixed-exising-new-responses branch February 12, 2017 19:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No responses not set for endpoints

3 participants