Comments (3)
I'm also having this issue, and seems we have a duplicate issue: #85
@harrisj have you figured out a work around for this, I'm somewhat stuck.
from apivore.
@harrisj thanks for reporting this.
This does seem like a bug. Beyond the string
to int
to string
conversion, Apivore asserts that the specified status code matches the response status code. Seems like the most reasonable thing to do is to skip the status code assertion in the case of "default".
@jreece1567, @gwshaw any thoughts on this issue.
from apivore.
having the same problem as well, hard to round out a test suite without support for default!
from apivore.
Related Issues (20)
- Support multiple methods for loading a swagger document. HOT 3
- Apivore is not being released to RubyGems in a while HOT 3
- Responds matches should support reference objects HOT 1
- Unknown/unsupported Swagger version to validate against: HOT 2
- Errors on non-JSON responses
- Uninitialized constant Apivore HOT 2
- using apivore in seperate test framework
- Suggestion: remove .ruby-version
- signed user?
- OpenAPI 3.0
- You are setting a key that conflicts with a built-in method Apivore::Swagger#version HOT 1
- Providing query and path parameters? HOT 1
- Is it still maintained ? HOT 1
- Does not handle empty response case
- redistribution request HOT 1
- How to handle response? HOT 1
- apivore >= 1.6.1 is incompatible with rails >= 6.1.7.7
- Fails to pull swagger json HOT 1
- Is this project still being maintained? HOT 1
- Yaml support? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apivore.