forked from loafle/openapi-generator-original
		
	* Update laravel from 5.6 to 7.0 * Updated petstore example, removed missing files * Updated PHP version to match composer.json * Add samples generation config with OAS3 input spec * Fixed gitignore compile errors, updated to newest petstore example * Add composer.lock to .gitignore * Fix generator gitignore location * Add integration tests * Refresh samples Co-authored-by: Yuriy Belenko <yura-bely@mail.ru>
		
			
				
	
	
		
			25 lines
		
	
	
		
			665 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			665 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| /**
 | |
|  * OpenAPI Petstore
 | |
|  * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
 | |
|  * PHP version 7.2.5
 | |
|  *
 | |
|  * The version of the OpenAPI document: 1.0.0
 | |
|  * 
 | |
|  *
 | |
|  * NOTE: This class is auto generated by OpenAPI-Generator
 | |
|  * https://openapi-generator.tech
 | |
|  * Do not edit the class manually.
 | |
|  *
 | |
|  * Source files are located at:
 | |
|  *
 | |
|  * > https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/resources/php-laravel/
 | |
|  */
 | |
| 
 | |
| 
 | |
| use Illuminate\Support\Facades\Route;
 | |
| 
 | |
| Route::get('/', function () {
 | |
|     return view('welcome');
 | |
| }); |