Skip to content

Assignment Path Params

Choose a tag to compare

@Ethosa Ethosa released this 15 May 11:22
· 1184 commits to master since this release

Now you can use path params assignment! (#28)

Just use

pathParams:
  myArg:
    type int
    mutable
    optional
    default = 10

And use it in any route:

"/user<myArg>"
"/page<myArg>"