mugennsou / postman2doc Goto Github PK
View Code? Open in Web Editor NEWConvert postman collection.json to markdown/html/docx.
License: MIT License
Convert postman collection.json to markdown/html/docx.
License: MIT License
PHP Fatal error: Uncaught TypeError: Argument 1 passed to App\Postman\Request::setBody() must be of the type array, null given, called in .config/composer/vendor/mugen/postman2doc/app/Postman/Request.php on line 58
When clicking on a link in the generated table of contents, the link doesn't take you to the proper anchor.
A little investigating shows that the link and the anchor URLs don't match
Here id the generated URL taken from the table of contents:
https://github.com/github-account/my-repo#login
Here is the URL from the anchor itself (notice the extra -1
)
https://github.com/github-account/my-repo#login-1
It seems that this occurs when there are more than one item with the same name (so it increments the name). But the link from the table of contents always point to the one without any number at the end.
Hello,
After trying to convert a v1.1 collection json file
postman2doc convert:docx API.my_collection.json
I receive the following error:
PHP Fatal error: Uncaught TypeError: Argument 1 passed to App\Postman\Request::setBody() must be of the type array, null given, called in /home/user/.config/composer/vendor/mugen/postman2doc/app/Postman/Request.php on line 58 and defined in /home/user/.config/composer/vendor/mugen/postman2doc/app/Postman/Request.php:92
Stack trace:
#0 /home/user/.config/composer/vendor/mugen/postman2doc/app/Postman/Request.php(58): App\Postman\Request->setBody(NULL)
#1 /home/user/.config/composer/vendor/mugen/postman2doc/app/Postman/Request.php(42): App\Postman\Request->parseRequest(Array)
#2 /home/user/.config/composer/vendor/mugen/postman2doc/app/Postman/Item.php(70): App\Postman\Request->__construct(Array)
#3 /home/user/.config/composer/vendor/mugen/postman2doc/app/Postman/Item.php(50): App\Postman\Item->setRequest(Array)
#4 /home/user/.config/composer/vendor/mugen/postman2doc/app/Postman/Item.php(32): App\Postman\Item->parseItem(Array)
#5 /home/user/.config/composer/vendor/mugen/postman2doc/app/Postman/Item in /home/user/.config/composer/vendor/mugen/postman2doc/app/Postman/Request.php on line 92
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.