Skip to content

Commit 7e91c49

Browse files
fix: remove customizations property from CommonInputModel class (#114)
1 parent 5762bd0 commit 7e91c49

File tree

12 files changed

+2
-25
lines changed

12 files changed

+2
-25
lines changed

src/models/CommonInputModel.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ import { CommonModel } from './CommonModel';
44
* This class is the wrapper for simplified models and the rest of the context needed for further generate typed models.
55
*/
66
export class CommonInputModel {
7-
models: {[key: string]: CommonModel} = {};
8-
// TODO: Remove it and update tests
9-
customizations: Object = {};
10-
originalInput: any = {};
7+
models: {[key: string]: CommonModel} = {};
8+
originalInput: any = {};
119
}

test/processors/AsyncAPIInputProcessor/commonInputModel/basic.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@
3737
]
3838
}
3939
}
40-
},
41-
"customizations":{
42-
4340
},
4441
"originalInput":{
4542
"_json":{

test/processors/JsonSchemaInputProcessor/commonInputModel/absence_type.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
}
3838
}
3939
},
40-
"customizations": {},
4140
"originalInput": {
4241
"$schema": "http://json-schema.org/draft-07/schema#",
4342
"type": "object",

test/processors/JsonSchemaInputProcessor/commonInputModel/applying_conditional_schemas.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@
121121
]
122122
}
123123
},
124-
"customizations": {},
125124
"originalInput": {
126125
"$schema": "http://json-schema.org/draft-07/schema#",
127126
"type": "object",

test/processors/JsonSchemaInputProcessor/commonInputModel/combination_schemas.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,6 @@
171171
"type"
172172
]
173173
}
174-
},
175-
"customizations":{
176-
177174
},
178175
"originalInput":{
179176
"$schema":"http://json-schema.org/draft-07/schema#",

test/processors/JsonSchemaInputProcessor/commonInputModel/enum.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
}
5353
}
5454
},
55-
"customizations": {},
5655
"originalInput": {
5756
"$schema": "http://json-schema.org/draft-07/schema#",
5857
"type": "object",

test/processors/JsonSchemaInputProcessor/commonInputModel/items.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@
142142
}
143143
}
144144
},
145-
"customizations": {},
146145
"originalInput": {
147146
"$schema": "http://json-schema.org/draft-07/schema#",
148147
"type": "object",

test/processors/JsonSchemaInputProcessor/commonInputModel/multiple_objects.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@
9393
}
9494
}
9595
},
96-
"customizations": {},
9796
"originalInput": {
9897
"$schema": "http://json-schema.org/draft-07/schema#",
9998
"type": "object",

test/processors/JsonSchemaInputProcessor/commonInputModel/object_property_with_anyOf.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@
5050
]
5151
}
5252
}
53-
},
54-
"customizations":{
55-
5653
},
5754
"originalInput":{
5855
"$schema":"http://json-schema.org/draft-07/schema#",

test/processors/JsonSchemaInputProcessor/commonInputModel/references.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@
104104
}
105105
}
106106
},
107-
"customizations": {},
108107
"originalInput": {
109108
"definitions": {
110109
"test": {

0 commit comments

Comments
 (0)