2017 © Pedro Peláez
 

package swagger-to-md

Tranform a swagger (multifile or plainfile) into markdown doc file based on template files. The generated doc is more a sskeltton of doc than a full finished doc file (depends of the documentation into your swagger file)

image

njuhel/swagger-to-md

Tranform a swagger (multifile or plainfile) into markdown doc file based on template files. The generated doc is more a sskeltton of doc than a full finished doc file (depends of the documentation into your swagger file)

  • Sunday, September 11, 2016
  • by njuhel
  • Repository
  • 0 Watchers
  • 1 Stars
  • 17 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Dependency Status ~ Code Climate ~ Test Coverage ~ Travis branch, (*1)

PHP Swagger To Markdown (md)

Transform a swagger (multifile / monofile) into md documents based on templates

A Swagger(OpenAPI) transformation to on markdown file as helper based on the PHP Swagger Validator. Having a md doc file based on a swagger file is interesting to having plain file to explain what is need for each exposed resources, (*2)

Swagger is old name of OpenAPI Projet and who manage the OAI Specification, (*3)

Need to do

  • realse a first version

Compatibility

Help us to fix error with compatibilities - scope PHP 5.5 to PHP 7.0, (*4)

Installation Guide

  • Install into a git repository as submodule :
git submodule init
git submodule add --branch v1.0.x https://github.com/njuhel/php-swagger-to-md build/lib/swagger-to-md
git submodule update
  • Install by cloning git :
git clone --branch v1.0.x https://github.com/njuhel/php-swagger-to-md swagger-to-md
  • Install with composer (adding this in composer.json):
    "require": {
        "njuhel/swagger-to-md":">=1.0.0"
    },
  • Install with phar :
wget https://github.com/njuhel/php-swagger-to-md/raw/v1.0.x/bin/Swagger-to-md.phar 

Example & Docs

The Versions

11/09 2016

dev-develop

dev-develop

Tranform a swagger (multifile or plainfile) into markdown doc file based on template files. The generated doc is more a sskeltton of doc than a full finished doc file (depends of the documentation into your swagger file)

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Nicolas JUHEL

api template php swagger markdown transform doc md openapi oai restfull skeletton

05/09 2016

dev-master

9999999-dev

Tranform a swagger (multifile or plainfile) into markdown doc file based on template files. The generated doc is more a sskeltton of doc than a full finished doc file (depends of the documentation into your swagger file)

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Nicolas JUHEL

api template php swagger markdown transform doc md openapi oai restfull skeletton