Skip to content

Commit e851262

Browse files
committed
Merge pull request #95 from canadaduane/http_lc
Add an 'httpMethodLowerCase' property
2 parents 13bc111 + 7956ccc commit e851262

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/scala/com/wordnik/swagger/codegen/Codegen.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,7 @@ class Codegen(config: CodegenConfig) {
362362
"requiredParams" -> requiredParams.toList,
363363
"errorList" -> errorList,
364364
"httpMethod" -> operation.method.toUpperCase,
365+
"httpMethodLowerCase" -> operation.method.toLowerCase,
365366
operation.method.toLowerCase -> "true")
366367
if (requiredParams.size > 0) properties += "requiredParamCount" -> requiredParams.size.toString
367368
operation.responseClass.indexOf("[") match {

0 commit comments

Comments
 (0)