The GitHub Actions job "End to End" on 
grails-core.git/feat/openapi-springdoc-8.0.x has succeeded.
Run started by GitHub user codeconsole (triggered by codeconsole).

Head commit for run:
134abaae2fbe79ec45bc37cdd3a561ecca0c95a5 / Scott Murphy Heiberg 
<[email protected]>
Describe controllers reached through the default URL mapping

A RestfulController is served by the default "/$controller/$action?/$id?"
mapping whether or not a mapping names it, so a controller with no
mapping of its own was reachable but absent from the document. That
includes every scaffolded controller, since scaffolding generates
RestfulController subclasses.

Those routes are now described, with the id segment on the actions that
address a single resource and the method each action declares through
allowedMethods, so save is documented as POST and delete as DELETE
rather than everything as GET.

A controller a mapping also names is described twice, once at /books/{id}
and once at /book/show/{id}. Both answer, and an endpoint that responds
while missing from the document is worse than one described twice: the
document is used to review the surface an application exposes, not only
to browse it. An application wanting only the first form removes the
default mapping.

Only RestfulController subclasses are described this way, which keeps
controllers rendering GSP views out of the document and makes the action
set, id placement, and methods known rather than guessed.

Report URL: https://github.com/apache/grails-core/actions/runs/33320618460

With regards,
GitHub Actions via GitBox

Reply via email to