Powered by Postman Collection
composer require anl/postman-collection-generator
You might want to document your api, but wait!... setting up postman collection with your environment? Sure that's great but for developers who are not fond of doing this manually, Integrate Postman Collection Generator in your functional tests. Code while making your api well documented.
Package currently supports https://schema.getpostman.com/json/collection/v2.0.0/docs/index.html
- CollectionSchema PokemonApi
- CollectionItemSchema PokemonTrainer
- CollectionSubItemSchema
TrainerLaboratory
- ItemSchema
Create Trainer Laboratory
- ItemSchema
- ItemSchema
Create Trainer
- RequestSchema
- ResponseSchema[]
- [0]
Create Trainer Successful
- [1]
Create Trainer Not Found
- [0]
- CollectionSubItemSchema
- CollectionItemSchema PokemonTrainer
- PostmanGenerator a new Generation.
- We aim to lessen the code when documenting, how about a feature to automatically suggest the Example Name, Request Name and Sub-folders Name to your collection?
- Will be adding Postman Lumen TestCase to override
call(...)
method Using the PostmanApiCallTrait we only get the instance of collection generator from the container.
- A reliable Api needs to detect semantic changes automatically for you.
- This comes with the backwards-compatible manner of adding Lumen support for generating documentation.
- Added PostmanGenerator helper PostmanApiCallTrait
- Resolved Issue #3
- Added caching mechanism for generated collection.
- Added Persistence mechanism thanks to Nathan Page
- Updated documentation.
- Be able to modify existing collection.