mirror of
https://github.com/ferdikoomen/openapi-typescript-codegen.git
synced 2025-12-08 20:16:21 +00:00
Working in array schema types
This commit is contained in:
parent
d3706a3985
commit
edb484e141
@ -1,7 +1,11 @@
|
||||
{
|
||||
array: {
|
||||
type: '{{>base}}',
|
||||
{{#if link}}
|
||||
arrayOf: {{>schema link}},
|
||||
{{else}}
|
||||
arrayOf: {
|
||||
type: '{{{base}}}',
|
||||
},
|
||||
{{/if}}
|
||||
{{#if isReadOnly}}
|
||||
isReadOnly: {{{isReadOnly}}},
|
||||
{{/if}}
|
||||
|
||||
@ -1,7 +1,11 @@
|
||||
{
|
||||
dictionary: {
|
||||
type: '{{>base}}',
|
||||
{{#if link}}
|
||||
dictionaryOf: {{>schema link}},
|
||||
{{else}}
|
||||
dictionaryOf: {
|
||||
type: '{{{base}}}',
|
||||
},
|
||||
{{/if}}
|
||||
{{#if isReadOnly}}
|
||||
isReadOnly: {{{isReadOnly}}},
|
||||
{{/if}}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
{{#if type}}
|
||||
type: '{{>base}}',
|
||||
type: '{{{base}}}',
|
||||
{{/if}}
|
||||
{{#if isReadOnly}}
|
||||
isReadOnly: {{{isReadOnly}}},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user