revali_annotations 2.0.0-dev
revali_annotations: ^2.0.0-dev copied to clipboard
The base annotations for API generation using Revali
example/example.dart
import 'package:revali_router/revali_router.dart';
@Controller('hello')
class HelloController {
const HelloController();
@Get()
String hello() {
return 'Hello, World!';
}
}