Open Kaiser1989 opened 4 years ago
Given following raml:
#%RAML 1.0 title: GitHub API version: v3 baseUri: https://api.github.com /ViewingSession: /{viewingSessionId}: /Attachments: uriParameters: viewingSessionId: type: string pattern: ^(;[^/;]+)*$ put:
should create a path like:
@Path("/ViewingSession/{viewingSessionId:(;[^/;]+)*}/Attachments)
The regex is not shown in path attribute. I added a pull request that fixes this problem (added a unit test under ResourceBuilderTestV10.java)
I'll check it tonight.
Side note from the spec: regexp in RAML are Ecma regexp. There are some differences with java regexp. It not have any real impact in your application.
Given following raml:
should create a path like:
The regex is not shown in path attribute. I added a pull request that fixes this problem (added a unit test under ResourceBuilderTestV10.java)