Skip to content

Commit 301f1d2

Browse files
committed
capitalized, not mixed
mixed is camelCase capitalized is CamelCase, which is what we want
1 parent 55176ba commit 301f1d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compojure/api/swagger.clj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
(update-in parameter [:model]
132132
swagger-impl/update-schema
133133
(fn-> (s/schema-with-name
134-
(gensym (lc/mixed (name type))))))
134+
(gensym (lc/capitalized (name type))))))
135135
parameter)))
136136
(assoc-in route-with-meta [:metadata :parameters]))
137137
route-with-meta))
@@ -143,7 +143,7 @@
143143
(update-in route-with-meta [:metadata :return]
144144
swagger-impl/update-schema
145145
(fn-> (s/schema-with-name
146-
(gensym (lc/mixed "return")))))
146+
(gensym (lc/capitalized "return")))))
147147
route-with-meta)
148148
route-with-meta))
149149

0 commit comments

Comments
 (0)