2017 © Pedro Peláez
 

library blueprint

API Blueprint documentation generator.

image

dingo/blueprint

API Blueprint documentation generator.

  • Thursday, June 7, 2018
  • by jasonlewis
  • Repository
  • 15 Watchers
  • 153 Stars
  • 1,623,400 Installations
  • PHP
  • 15 Dependents
  • 0 Suggesters
  • 81 Forks
  • 23 Open issues
  • 13 Versions
  • 9 % Grown

The README.md

API Blueprint Generator

Build Status License Development Version Monthly Installs StyleCI, (*1)

This package generates a valid API Blueprint 1A document from a collection of classes., (*2)

Usage

Some index method phpdoc example:, (*3)

<?php

/**
 * Products
 *
 * @Resource("Products", uri="/products")
*/
class ProductsController extends ApiController
{
    /**
     * Products list
     *
     * Get current products list
     * 
     * @Get("/")
     * @Versions({"v1"})
     * @Transaction({
     *      @Request(identifier="/?state=synced"),
     *      @Response(200, body={"data":{{"id":"rkoVJ7qa4Z6lzXdVnldgx9LmpBP0DQ3e","name":"Product name","status":"active"}},"meta":{"pagination":{"total":1,"count":1,"per_page":1,"current_page":1,"total_pages":1,"links":{}}}})
     * })
     * @Parameters({
     *      @Parameter("api_token", type="string", required=true, description="API Token", default=null),
     *      @Parameter("page", type="integer", required=false, description="Pagination page", default=1),
     *      @Parameter("state", type="string", required=false, description="Product status filter", default="synced", members={
     *          @Member(value="synced", description="Products synced"),
     *          @Member(value="pending", description="Products pending")
     *      })
     * })
     */
    public function index(Request $request)
    {}
}

License

This package is licensed under the BSD 3-Clause license., (*4)

The Versions

07/06 2018

dev-master

9999999-dev

API Blueprint documentation generator.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

laravel api dingo docs blueprint

05/12 2017

v0.2.4

0.2.4.0

API Blueprint documentation generator.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

laravel api dingo docs blueprint

20/09 2017

v0.2.3

0.2.3.0

API Blueprint documentation generator.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

laravel api dingo docs blueprint

27/12 2016
30/08 2016
12/04 2016

v0.1.6

0.1.6.0

API Blueprint documentation generator.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

laravel api dingo docs blueprint

31/03 2016

v0.1.5

0.1.5.0

API Blueprint documentation generator.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

laravel api dingo docs blueprint

30/11 2015

v0.1.4

0.1.4.0

API Blueprint documentation generator.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

laravel api dingo docs blueprint

22/08 2015

v0.1.3

0.1.3.0

API Blueprint documentation generator.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

laravel api dingo docs blueprint

17/07 2015

v0.1.2

0.1.2.0

API Blueprint documentation generator.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

laravel api dingo docs blueprint

02/07 2015

v0.1.1

0.1.1.0

API Blueprint documentation generator.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

laravel api dingo docs blueprint

20/06 2015

v0.1.0

0.1.0.0

API Blueprint documentation generator.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

laravel api dingo docs blueprint