Skip to content

Commit 4190239

Browse files
okaponwing328
authored andcommitted
[PHP client] Fix README.md template for php (OpenAPITools#1540)
* Fix README.md template for php * update php openapi3 samples
1 parent 833749c commit 4190239

File tree

4 files changed

+4
-4
lines changed
  • modules/openapi-generator/src/main/resources/php
  • samples
    • client
      • petstore/php/OpenAPIClient-php
      • petstore-security-test/php/OpenAPIClient-php
    • openapi3/client/petstore/php/OpenAPIClient-php

4 files changed

+4
-4
lines changed

modules/openapi-generator/src/main/resources/php/README.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ To install the bindings via [Composer](http://getcomposer.org/), add the followi
3030
{
3131
"repositories": [
3232
{
33-
"type": "git",
33+
"type": "vcs",
3434
"url": "https://github.com/{{#composerVendorName}}{{.}}{{/composerVendorName}}{{^composerVendorName}}{{gitUserId}}{{/composerVendorName}}/{{#composerProjectName}}{{.}}{{/composerProjectName}}{{^composerProjectName}}{{gitRepoId}}{{/composerProjectName}}.git"
3535
}
3636
],

samples/client/petstore-security-test/php/OpenAPIClient-php/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ To install the bindings via [Composer](http://getcomposer.org/), add the followi
1919
{
2020
"repositories": [
2121
{
22-
"type": "git",
22+
"type": "vcs",
2323
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
2424
}
2525
],

samples/client/petstore/php/OpenAPIClient-php/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ To install the bindings via [Composer](http://getcomposer.org/), add the followi
1919
{
2020
"repositories": [
2121
{
22-
"type": "git",
22+
"type": "vcs",
2323
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
2424
}
2525
],

samples/openapi3/client/petstore/php/OpenAPIClient-php/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ To install the bindings via [Composer](http://getcomposer.org/), add the followi
1919
{
2020
"repositories": [
2121
{
22-
"type": "git",
22+
"type": "vcs",
2323
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
2424
}
2525
],

0 commit comments

Comments
 (0)