We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a00277b commit 68ee849Copy full SHA for 68ee849
1 file changed
solga-swagger/src/Solga/Swagger.hs
@@ -194,6 +194,6 @@ instance (Typeable a, ToParamSchema a, RouterSwagger next) => RouterSwagger (Cap
194
let pOtherSchema = mempty & in_ .~ ParamPath & paramSchema .~ pSchema
195
let param = mempty & name .~ paramName & required .~ Just True & schema .~ ParamOther pOtherSchema
196
genPaths (nextProxy p) newCtx
197
- { pathSegments = pathSegments ctx `DL.snoc` paramName
+ { pathSegments = pathSegments ctx `DL.snoc` ("{" <> paramName <> "}")
198
, operationContext = operationContext newCtx & parameters <>~ [ Inline param ]
199
}
0 commit comments