darto_zard_openapi 1.0.0 copy "darto_zard_openapi: ^1.0.0" to clipboard
darto_zard_openapi: ^1.0.0 copied to clipboard

Hono-style zod-openapi for Darto — define a zard schema once to validate requests and generate the OpenAPI 3.1 document, with OpenAPIDarto, createRoute and Scalar UI.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add darto_zard_openapi

With Flutter:

 $ flutter pub add darto_zard_openapi

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  darto_zard_openapi: ^1.0.0

Alternatively, 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_zard_openapi/darto_zard_openapi.dart';
0
likes
150
points
26
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Hono-style zod-openapi for Darto — define a zard schema once to validate requests and generate the OpenAPI 3.1 document, with OpenAPIDarto, createRoute and Scalar UI.

Homepage
Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

darto, darto_validator, zard

More

Packages that depend on darto_zard_openapi