generated/endpoint_gen library
Classes
- EndpointGen
-
A
Generator
that scans classes extendingEndpoints
and generates corresponding router configuration code.
Typedefs
- HttpAnnotationInfo = ({String? path, String type})
-
Represents the type of HTTP annotation (e.g.,
@Get
,@Post
) with its optionalpath
argument. - RequestBodyParser = ({String code, String type})
- Represents generated body parser code for an endpoint method, along with the list of extracted arguments to be passed.