Comments (6)
Sorry for the delay, looking in to this now. It looks like this had to do with cyclic references in the swagger document. I'm currently testing out a fix, thanks for reporting this
from httprepl.
Would you be able to provide the swagger.json file that you ran in to this with or the callstack at the time of the crash?
from httprepl.
Unfortunately I am not able to provide the swagger.json, but I can provide a sample which includes, info, path and definitiions of the swagger file.
swagger.txt
from httprepl.
Using the document you've provided (thanks!) I'm not seeing a StackOverflowException being thrown, but I did notice that the definitions
object is being defined within the paths
section, causing a pointer resolution to fail (in responses for About) and definitions to show up as a path, but not causing a crash. I think the best thing to do here might be to attach to the dotnet process running the tool, set the debugger to break on all exceptions and point it at the document that you're running in to problems with. The debugger should break when the stack overflow occurs (or if it breaks earlier, continue until you hit the right exception) - from there, we should be able to figure out where it's getting stuck.
from httprepl.
Thank's for the answer and your time.
I will use dotTrace for that purpose or try to debug the tool in order to identify what causes the StackOverflowException.
from httprepl.
I also seem to have the same issue myself with the httprepl attaching it to my own Swashbuckle.aspnetcore generated swagger.json
I haven't looked at attaching a debugger, thought I would just provide this to try and help investigation.
from httprepl.
Related Issues (20)
- Setting any default editor says "specified path does not exist" HOT 4
- Respect allowReserved field on query parameters
- Add set editor command
- [Mac OS] Cannot set up default editor HOT 9
- Support EDITOR and VISUAL environment variables where applicable
- Several characters are count twice HOT 7
- Support for NTLM digests for Authorization
- Cannot find open api model error message
- Default branch rename to main HOT 1
- Support cd.. (without space)
- Support URL versioning
- sg g g sgv vfvfff
- Unable to find an OpenAPI description HOT 6
- httprepl : The term 'httprepl' is not recognized as the name of a cmdlet, function, script file, or operable program. HOT 2
- Unable to install HOT 4
- Microsoft.dotnet-httprepl 6.0.0 is not compatible with net6.0 HOT 1
- FileNotFoundException when using `post -h Content-Type=application/json` HOT 1
- Response shown in console doesn't show raw Json text
- Waiting on VS Code as editor causes console spew from VS Code that is irrelevant to HttpRepl HOT 1
- Cannot run Microsoft.dotnet-httprepl 6.0.0 with dotnet 7.0 (at Ubuntu 22.04) HOT 3
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 httprepl.