Skip to content

Commit

Permalink
[php-laravel] Show required PHP version in docs (#6502)
Browse files Browse the repository at this point in the history
* Add required PHP version to readme

* Add requried PHP version to @PHPDoc
  • Loading branch information
ybelenko committed May 31, 2020
1 parent 5877e30 commit 39eb32e
Show file tree
Hide file tree
Showing 13 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# OpenAPI generated server

## Requirements
* PHP 7.1.3 or newer

## Overview
This server was generated by the [openapi-generator](https://github.com/openapitools/openapi-generator) project. By using the
[OpenAPI-Spec](https://github.com/swagger-api/swagger-core/wiki) from a remote server, you can easily generate a server stub. This
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/**
* {{{appName}}}
* {{{appDescription}}}
* PHP version 7.1.3
*
* {{#version}}The version of the OpenAPI document: {{{version}}}{{/version}}
* {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
Expand Down
3 changes: 3 additions & 0 deletions samples/server/petstore/php-laravel/lib/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# OpenAPI generated server

## Requirements
* PHP 7.1.3 or newer

## Overview
This server was generated by the [openapi-generator](https://github.com/openapitools/openapi-generator) project. By using the
[OpenAPI-Spec](https://github.com/swagger-api/swagger-core/wiki) from a remote server, you can easily generate a server stub. This
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
/**
* 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.1.3
*
* The version of the OpenAPI document: 1.0.0
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
/**
* 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.1.3
*
* The version of the OpenAPI document: 1.0.0
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
/**
* 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.1.3
*
* The version of the OpenAPI document: 1.0.0
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
/**
* 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.1.3
*
* The version of the OpenAPI document: 1.0.0
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
/**
* 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.1.3
*
* The version of the OpenAPI document: 1.0.0
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
/**
* 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.1.3
*
* The version of the OpenAPI document: 1.0.0
*
Expand Down
1 change: 1 addition & 0 deletions samples/server/petstore/php-laravel/lib/routes/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
/**
* 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.1.3
*
* The version of the OpenAPI document: 1.0.0
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
/**
* 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.1.3
*
* The version of the OpenAPI document: 1.0.0
*
Expand Down
1 change: 1 addition & 0 deletions samples/server/petstore/php-laravel/lib/routes/console.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
/**
* 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.1.3
*
* The version of the OpenAPI document: 1.0.0
*
Expand Down
1 change: 1 addition & 0 deletions samples/server/petstore/php-laravel/lib/routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
/**
* 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.1.3
*
* The version of the OpenAPI document: 1.0.0
*
Expand Down

0 comments on commit 39eb32e

Please sign in to comment.