darto_openapi 1.1.0
darto_openapi: ^1.1.0 copied to clipboard
OpenAPI 3.1 spec generation and Scalar API docs for the Darto web framework — describe a route once to validate requests and document them.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add darto_openapiWith Flutter:
$ flutter pub add darto_openapiThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
darto_openapi: ^1.1.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:darto_openapi/darto_openapi.dart';