Comments (2)
@l-mpossible Thank you for the detailed repro steps. I don't see a good way to work around this problem in the specification. If you feel like experimenting, you can try to uncomment the assertion in the code at [1] - the compiler succeeds and may produce a working grammar. We'll investigate and hopefully fix this in the next couple of days.
[1] See SwaggerVisitors.fs
//if not ((schema::parents) |> List.contains ao.ActualSchema ||
// schema.AllOf.Count > 1) then
// printfn "Example is: %A" exampleValue
// raise (UnsupportedType "allOf should never be a leaf node.")
from restler-fuzzer.
For the refs problem, this is an existing issue in NSwag, and RESTler already works around it for json (SwaggerSpecPreprocessor), looks like the same needs to be done for yaml. I'll open a separate issue on that.
from restler-fuzzer.
Related Issues (20)
- How to properly configure and use authentication tokens in Restler? HOT 1
- Improve logging in RESTler compile step in case of a spec issue instead of just failing without and not giving clear indication of which property is problematic HOT 1
- RESTler's attempts to reproduce bugs add extra quotes (") for values sourced from restler_custom_payload
- Automatic inferred dependencies not working
- Trace database requests include authorization token
- Dynamic object encoding is adding extra double quotes when consuming value from other call
- RESTler is logging error for missing parameter in the response even when the parameter is not configured for the specific response code
- RESTler ran forever: "Exhausted collection..." loop prevented RESTler from honoring --time_budget
- Token Refresh Interval is not working under Proxy
- Can RESTler detect other status codes than 500? HOT 1
- Question about "restler_custom_payload_header"
- [Feature Request] Improve Annotations to Support Integer Responses
- Handling ByteArray in Request Object During Fuzz Testing: Incorrect JSON Representation Issue
- Authorization using setting 'token_refresh_cmd' not working HOT 2
- Fail to build docker image locally HOT 3
- Problem with Fuzz-lean since last update HOT 2
- Does RESTler respect dependencies in the schema?
- Restler source code learning encountered confusions
- Question
- Specific route path parameter for a specific route is not being used 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 restler-fuzzer.