Skip to content

Commit

Permalink
Fix spacing of mapping types (#1230)
Browse files Browse the repository at this point in the history
* Fix spacing of mapping types

* Changelog
  • Loading branch information
David Robertson committed Sep 6, 2022
1 parent 8df0cfe commit a6990ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelogs/internal/newsfragments/1230.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix the spacing of mapping types generated from the OpenAPI spec.
2 changes: 1 addition & 1 deletion layouts/partials/openapi/render-object-table.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down

0 comments on commit a6990ff

Please sign in to comment.