mirror of
https://github.com/ferdikoomen/openapi-typescript-codegen.git
synced 2025-12-08 20:16:21 +00:00
- Added addional space test case
This commit is contained in:
parent
e83f7fada6
commit
5a8c40b8ee
@ -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,
|
||||
|
||||
@ -1066,6 +1066,9 @@
|
||||
"reference": {
|
||||
"$ref": "#/definitions/ModelWithString"
|
||||
},
|
||||
"property with space": {
|
||||
"type": "string"
|
||||
},
|
||||
"@namespace.string": {
|
||||
"type": "string",
|
||||
"readOnly": true
|
||||
|
||||
@ -1714,6 +1714,9 @@
|
||||
"reference": {
|
||||
"$ref": "#/components/schemas/ModelWithString"
|
||||
},
|
||||
"property with space": {
|
||||
"type": "string"
|
||||
},
|
||||
"@namespace.string": {
|
||||
"type": "string",
|
||||
"readOnly": true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user