Fix spacing of mapping types (#1230)

* Fix spacing of mapping types

* Changelog
pull/1236/head
David Robertson 2 years ago committed by GitHub
parent 8df0cfeae0
commit a6990ff27c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save