Skip to content

Commit 4fc32d3

Browse files
Merge branch 'master' into feat-remove-service-param
2 parents 76157d9 + af7dd08 commit 4fc32d3

File tree

5 files changed

+7
-11
lines changed

5 files changed

+7
-11
lines changed

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
"ext-curl": "*",
2424
"ext-mbstring": "*",
2525
"ext-json": "*",
26-
"twig/twig": "^3.3",
27-
"matthiasmullie/minify": "^1.3"
26+
"twig/twig": "^3.4.1",
27+
"matthiasmullie/minify": "^1.3.68"
2828
},
2929
"require-dev": {
30-
"phpunit/phpunit": "^9.5.13",
30+
"phpunit/phpunit": "^9.5.21",
3131
"brianium/paratest": "^6.4"
3232
},
3333
"minimum-stability": "dev",

composer.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specs/swagger2-latest-console.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

templates/web/src/models.ts.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export namespace Models {
88
/**
99
* {{ property.description }}
1010
*/
11-
{{ property.name | escapeKeyword }}{% if not property.required %}?{% endif %}: {{ property | getSubSchema(spec) | raw }};
11+
{{ property.name }}{% if not property.required %}?{% endif %}: {{ property | getSubSchema(spec) | raw }};
1212
{% endfor %}
1313
{% if definition.additionalProperties %} [key: string]: any;
1414
{% endif %}

templates/web/src/services/template.ts.twig

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
import { Service } from '../service';
22
import { {{ spec.title | caseUcfirst}}Exception, Client } from '../client';
33
import type { Models } from '../models';
4-
import type { UploadProgress } from '../client';
5-
6-
type Payload = {
7-
[key: string]: any;
8-
}
4+
import type { UploadProgress, Payload } from '../client';
95

106
export class {{ service.name | caseUcfirst }} extends Service {
117

0 commit comments

Comments
 (0)