Skip to main content

octri_openapi_parser 0.1.2 copy "octri_openapi_parser: ^0.1.2" to clipboard
octri_openapi_parser: ^0.1.2 copied to clipboard

Dart native bindings for the Octri Rust OpenAPI parser.

Octri OpenAPI Parser for Dart #

Live demo · Validate, parse, bundle and dereference Swagger 2.0 and OpenAPI 3.0, 3.1 and 3.2 documents with Octri's Rust parser.

dart pub add octri_openapi_parser
import 'package:octri_openapi_parser/octri_openapi_parser.dart';

final report = Parser().analyze(Source.text(specText));

The package bundles the native library. Supported platforms: Linux x64 and arm64 (glibc 2.36 or later) and macOS arm64. On other platforms, build liboctri_parser_ffi from the repository and pass its path to the constructor.

Runs on the Dart VM. A dart compile exe binary cannot read package files: ship the library beside it and pass its path to Parser.

Options, report shapes and the runtime contract are documented in the bindings guide. Licensed under Apache-2.0; the bundled library's third-party notices ship with the package.

0
likes
130
points
48
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Dart native bindings for the Octri Rust OpenAPI parser.

Repository (GitHub)
View/report issues
Contributing

License

Apache-2.0 (license)

More

Packages that depend on octri_openapi_parser