|
1 | 1 | { |
2 | | - "name": "{{gitUserId}}/{{gitRepoId}}", |
| 2 | + {{#composerPackageName}} |
| 3 | + "name": "{{{.}}}", |
| 4 | + {{/composerPackageName}} |
3 | 5 | {{#artifactVersion}} |
4 | | - "version": "{{artifactVersion}}", |
| 6 | + "version": "{{{.}}}", |
5 | 7 | {{/artifactVersion}} |
6 | 8 | "description": "{{{appDescription}}}", |
7 | 9 | "keywords": [ |
|
13 | 15 | "rest", |
14 | 16 | "api" |
15 | 17 | ], |
16 | | - "homepage": "https://openapi-generator.tech", |
17 | | - "license": "unlicense", |
| 18 | + "homepage": "{{{artifactUrl}}}", |
| 19 | + "license": "{{{licenseName}}}", |
18 | 20 | "authors": [ |
19 | 21 | { |
20 | | - "name": "OpenAPI-Generator contributors", |
21 | | - "homepage": "https://openapi-generator.tech" |
| 22 | + "name": "{{{developerOrganization}}}", |
| 23 | + "homepage": "{{{developerOrganizationUrl}}}" |
22 | 24 | } |
23 | 25 | ], |
24 | 26 | "config": { |
25 | 27 | "sort-packages": true |
26 | 28 | }, |
27 | 29 | "require": { |
28 | | - "php": ">=7.2", |
| 30 | + "php": "^7.4 || ^8.0", |
29 | 31 | "ext-curl": "*", |
30 | 32 | "ext-json": "*", |
31 | 33 | "ext-mbstring": "*", |
|
41 | 43 | }, |
42 | 44 | "require-dev": { |
43 | 45 | "phpunit/phpunit": "^8.0 || ^9.0", |
44 | | - "friendsofphp/php-cs-fixer": "^2.12", |
| 46 | + "friendsofphp/php-cs-fixer": "^3.5", |
45 | 47 | "guzzlehttp/guzzle": "^7.0", |
46 | 48 | "php-http/guzzle7-adapter": "^1.0" |
47 | 49 | }, |
48 | 50 | "autoload": { |
49 | | - "psr-4": { "{{escapedInvokerPackage}}\\" : "{{srcBasePath}}/" } |
| 51 | + "psr-4": { "{{{escapedInvokerPackage}}}\\" : "{{{srcBasePath}}}/" } |
50 | 52 | }, |
51 | 53 | "autoload-dev": { |
52 | | - "psr-4": { "{{escapedInvokerPackage}}\\Test\\" : "{{testBasePath}}/" } |
| 54 | + "psr-4": { "{{{escapedInvokerPackage}}}\\Test\\" : "{{{testBasePath}}}/" } |
53 | 55 | } |
54 | 56 | } |
0 commit comments