-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Documentation generated by the plugin for custom UrlMappings is not rendered correctly.
For example:
UrlMappings
"/api/custom/$bookId/$action.$format" {
controller = "restCustom"
constraints {
bookId nullable: false, blank: false
}
}
RestCustomController
@RestApiMethod(description="Add a book to the store", verb = RestApiVerb.POST)
@RestApiParams(params=[
@RestApiParam(name="bookId", type="long", paramType = RestApiParamType.PATH, description = "The book id")
])
def add(Long bookId) {
...
}
The generated documentation:
- does not replace '$action' dynamically ;
- generates path as "rest custom".
I have submitted the following pull request to fix the issue: #58
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels