Coder Social home page Coder Social logo

postman2doc's People

Contributors

thebrousse avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

postman2doc's Issues

setBody() must be of the type array

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

Markdown anchor links don't point to section

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.

Failed conversion: Uncaught TypeError: null

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.