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