Comments (9)
Really sorry for the delay. I'll look into this issue in the coming days.
@Sergeant61 it would be nice if I could see what the JSON file looks like so that I can reproduce the issue locally. You can create a gist of it or just upload it to https://fastbin.xyz
from insomnia-documenter.
@Prathik-Jain Your insomnia export doesn't seem to have a workspace block (a block whose _type
is workspace
). Even Insomnia fails to import it properly (at least on my end). I'm not sure why this happened tbh.
@Sergeant61 JSON with comments is not currently supported, but I'll think about ways to support it.
from insomnia-documenter.
@Prathik-Jain I'm using Insomnia Core version 2020.3.3 (latest).
@Sergeant61 This is fixed in the latest release. See: #23 (comment)
from insomnia-documenter.
+1
from insomnia-documenter.
I found the problem. It says comment line in jsons in bodies, but comment line is not supported in real json. In our insomnia.json (v4) file, we had bodies with comment lines. The problem disappeared when I arranged them. Like this:
{ "cart": { "variant_id": 10, "quantity": 1, "extra_ids": [4] // optional } }
from insomnia-documenter.
I found the problem. It says comment line in jsons in bodies, but comment line is not supported in real json. In our insomnia.json (v4) file, we had bodies with comment lines. The problem disappeared when I arranged them. Like this:
{ "cart": { "variant_id": 10, "quantity": 1, "extra_ids": [4] // optional } }
does this not break the JSON itself?
from insomnia-documenter.
@Prathik-Jain Your insomnia export doesn't seem to have a workspace block (a block whose
_type
isworkspace
). Even Insomnia fails to import it properly (at least on my end). I'm not sure why this happened tbh.
Oops! Let me see. I remember insomnia getting updated after the creation of this issue. Ill get back.
Thanks @jozsefsallai
from insomnia-documenter.
I found the problem. It says comment line in jsons in bodies, but comment line is not supported in real json. In our insomnia.json (v4) file, we had bodies with comment lines. The problem disappeared when I arranged them. Like this:
{ "cart": { "variant_id": 10, "quantity": 1, "extra_ids": [4] // optional } }
does this not break the JSON itself?
Insomnia designer is also supported in the body part. I'm not sure if there should be such a feature. But the insomnia documenter doesn't work right because of this. Also, when using this feature, if it is left blank for replace, I get a null error. @jozsefsallai
from insomnia-documenter.
from insomnia-documenter.
Related Issues (20)
- Error displaying app HOT 14
- Python request display HOT 1
- cannot access insomnia,json HOT 2
- For support use Discussions, for bug reports use Issues! HOT 4
- Option to not include cookies in documentation
- JSON.parse SyntaxError since 0.4.4 HOT 6
- Environment not working HOT 2
- Error in export Json V4 HOT 1
- Push commit to npm HOT 1
- Documentation show error "TypeError: e is null" HOT 2
- FormatEnv function throws an error when url for some requests are empty
- Add `overflow: auto` to description css class
- Example response not parsed HOT 2
- Github Pages Deployment steps
- Example response not working HOT 13
- Raw content data support. HOT 2
- Converting to Static Site
- Auto Expand Menu HOT 1
- Display info.description
- Demo Page 404 on README.md 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 insomnia-documenter.