serinus_swagger 1.0.3 serinus_swagger: ^1.0.3 copied to clipboard
A Serinus plugin to generate OpenAPI documentation from your Serinus app.
example/lib/serinus_swagger_example.dart
import 'package:serinus/serinus.dart';
import 'app_module.dart';
Future<void> bootstrap() async {
final app = await serinus.createApplication(
entrypoint: AppModule(), host: '0.0.0.0', port: 3000);
await app.serve();
}