2017 © Pedro Peláez
 

project swagger-generator

image

weburnit/swagger-generator

  • Monday, March 6, 2017
  • by weburnit
  • Repository
  • 1 Watchers
  • 2 Stars
  • 57 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Install


namespace YourNamespace\Console; use Laravel\Lumen\Console\Kernel as ConsoleKernel; use Weburnit\Console\Commands\SwaggerModelGenerator; /** * Class Kernel */ class Kernel extends ConsoleKernel { /** * The Artisan commands provided by your application. * * @var array */ protected $commands = [ SwaggerModelGenerator::class, ... ]; }

Usage

  • Be able to create Class, Class Description
  • Generate every single field/property and data type per field reflects Laravel Validation.
  • In case field has multiple validations like "platformCode" => "string|max:20", first data type must be max. Then command line will ask you value of max(in this case is 20). Then it will ask you type of value as string in this case. Demo

The Versions

06/03 2017

dev-master

9999999-dev

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Paul Aan

27/02 2017
26/02 2017