Skip to content

Commit 3bb7441

Browse files
committed
bump: 11.1.2v; chore: update snapshots
1 parent d9df8a0 commit 3bb7441

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "swagger-typescript-api",
3-
"version": "11.1.1",
3+
"version": "11.1.2",
44
"description": "Generate typescript/javascript api from swagger schema",
55
"scripts": {
66
"cli:json": "node index.js -r -d -p ./swagger-test-cli.json -n swagger-test-cli.ts",

tests/spec/object-types/expected.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,12 @@ export type Test1 = {
4141

4242
export interface AdditionalObjectProperties {
4343
id?: string;
44+
[key: string]: any;
4445
}
4546

4647
export interface AdditionalIntProperties {
4748
id?: string;
49+
[key: string]: any;
4850
}
4951

5052
export interface ABCOptional {

0 commit comments

Comments
 (0)