Annotation Interface Undocumented


@Inherited @Retention(RUNTIME) @Target(TYPE) public @interface Undocumented
Keeps a route out of the published document.

Every class-based route is documented, which is what stops a document from lying by omission. Some routes are not part of the API anyway — a health check, an internal callback, something on its way out — and this says so, once, where the handler is.

Inherited: on a base class it leaves out every handler written against it.