2017 © Pedro Peláez
 

library swagger-json-collector

Combine multiple swagger 2.0 documents into a single document

image

oat-sa/swagger-json-collector

Combine multiple swagger 2.0 documents into a single document

  • Friday, April 28, 2017
  • by jbout
  • Repository
  • 7 Watchers
  • 0 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

swagger-json-collector

Combines Swagger docs from various sources, (*1)

Example of usage

Valid input formats are files that contains JSON, or JSON strings or PHP arrays. Formats can be mixed within the input array., (*2)

$collector = new DocsCollector();


$doc = $collector->generate(['swagger.json', '{ "swagger": "2.0",...}'], [ 'swagger' => '2.0',...]]);

file_put_contents('swaggerDoc.json', json_encode($doc))

The Versions

28/04 2017

dev-master

9999999-dev

Combine multiple swagger 2.0 documents into a single document

  Sources   Download

The Development Requires

by Alexander Zagovorichev

28/04 2017

2.0.0

2.0.0.0

Combine multiple swagger 2.0 documents into a single document

  Sources   Download

The Development Requires

by Alexander Zagovorichev

28/04 2017

dev-develop

dev-develop

Combine multiple swagger 2.0 documents into a single document

  Sources   Download

The Development Requires

by Alexander Zagovorichev

27/03 2017

v1.0.1

1.0.1.0

Combine multiple swagger 2.0 documents into a single document

  Sources   Download

The Development Requires

by Alexander Zagovorichev

28/09 2016

v1.0.0

1.0.0.0

Combine swagger2.0 docs into new one documentation

  Sources   Download

The Development Requires

by Alexander Zagovorichev