Open y-haidar opened 6 months ago
The new syntax is almost the same except we still need to convert the end if it is {*...} To {...+}.
Code should be: 1: get substring after last / 2: if it starts with {* and ends with } copy string until last / and append contents as { content +} else just return original string.
The new matching syntax breaks
path_colon_params
in:https://github.com/tamasfe/aide/blob/7e2d71edf706710ed24241348c689fe89bf7c83a/crates/aide/src/util.rs#L23
This is my, not so good, idea to fix it:
I haven't tested this fully, especially wildcards params, but tested it briefly on: