Skip to content

Commit 4978e41

Browse files
committed
fix pattern in scala aka http server generator
1 parent 5025997 commit 4978e41

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • modules/openapi-generator/src/main/resources/scala-akka-http-server

modules/openapi-generator/src/main/resources/scala-akka-http-server/api.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class {{classname}}(
5656
{{^pathMatcherPatterns.isEmpty}}
5757
object {{classname}}Patterns {
5858
59-
{{#pathMatcherPatterns}}val {{pathMatcherVarName}}: PathMatcher1[String] = PathMatcher("{{pattern}}".r)
59+
{{#pathMatcherPatterns}}val {{pathMatcherVarName}}: PathMatcher1[String] = PathMatcher("{{{pattern}}}".r)
6060
{{/pathMatcherPatterns}}
6161
}
6262
{{/pathMatcherPatterns.isEmpty}}

0 commit comments

Comments
 (0)