- Added addional space test case

This commit is contained in:
Ferdi Koomen 2020-12-18 12:02:52 +01:00
parent e83f7fada6
commit 5a8c40b8ee
3 changed files with 14 additions and 0 deletions

View File

@ -942,6 +942,7 @@ export type ModelWithProperties = {
number?: number;
boolean?: boolean;
reference?: ModelWithString;
'property with space'?: string;
readonly '@namespace.string'?: string;
readonly '@namespace.integer'?: number;
}
@ -1615,6 +1616,9 @@ export const $ModelWithProperties = {
reference: {
type: 'ModelWithString',
},
'property with space': {
type: 'string',
},
'@namespace.string': {
type: 'string',
isReadOnly: true,
@ -3298,6 +3302,7 @@ export type ModelWithProperties = {
number?: number;
boolean?: boolean;
reference?: ModelWithString;
'property with space'?: string;
readonly '@namespace.string'?: string;
readonly '@namespace.integer'?: number;
}
@ -4126,6 +4131,9 @@ export const $ModelWithProperties = {
reference: {
type: 'ModelWithString',
},
'property with space': {
type: 'string',
},
'@namespace.string': {
type: 'string',
isReadOnly: true,

View File

@ -1066,6 +1066,9 @@
"reference": {
"$ref": "#/definitions/ModelWithString"
},
"property with space": {
"type": "string"
},
"@namespace.string": {
"type": "string",
"readOnly": true

View File

@ -1714,6 +1714,9 @@
"reference": {
"$ref": "#/components/schemas/ModelWithString"
},
"property with space": {
"type": "string"
},
"@namespace.string": {
"type": "string",
"readOnly": true