Skip to content

Commit

Permalink
[php-lumen] Show required PHP version in docs (#6501)
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 authored May 31, 2020
1 parent 54e2574 commit 5877e30
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 0 deletions.
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
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# OpenAPITools generated server

## Requirements
* PHP 7.1.3 or newer

## Overview
This server was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the
[OpenAPI-Spec](https://github.com/OAI/OpenAPI-Specification/) 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
3 changes: 3 additions & 0 deletions samples/server/petstore/php-lumen/lib/readme.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# OpenAPITools generated server

## Requirements
* PHP 7.1.3 or newer

## Overview
This server was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the
[OpenAPI-Spec](https://github.com/OAI/OpenAPI-Specification/) from a remote server, you can easily generate a server stub. This
Expand Down
1 change: 1 addition & 0 deletions samples/server/petstore/php-lumen/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 5877e30

Please sign in to comment.