Fix spacing of mapping types (#1230)
* Fix spacing of mapping types * Changelog
This commit is contained in:
parent
8df0cfeae0
commit
a6990ff27c
2 changed files with 2 additions and 1 deletions
1
changelogs/internal/newsfragments/1230.clarification
Normal file
1
changelogs/internal/newsfragments/1230.clarification
Normal file
|
@ -0,0 +1 @@
|
|||
Fix the spacing of mapping types generated from the OpenAPI spec.
|
|
@ -73,7 +73,7 @@
|
|||
*/}}
|
||||
{{ if reflect.IsMap $property.additionalProperties }}
|
||||
{{ if $property.additionalProperties.title }}
|
||||
{{ $type = delimit (slice "{ string: " $property.additionalProperties.title "}" ) "" }}
|
||||
{{ $type = delimit (slice "{string: " $property.additionalProperties.title "}" ) "" }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue