mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-01-09 09:23:43 +01:00
Fix spacing of mapping types (#1230)
* Fix spacing of mapping types * Changelog
This commit is contained in:
parent
8df0cfeae0
commit
a6990ff27c
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…
Reference in a new issue