Skip to main content

octri_spec_converter 0.1.3 copy "octri_spec_converter: ^0.1.3" to clipboard
octri_spec_converter: ^0.1.3 copied to clipboard

Native bindings for the offline Octri Rust Spec Converter.

Octri Spec Converter for Dart #

Live demo · Convert Swagger, OpenAPI, Postman, Insomnia, RAML, WSDL and cURL descriptions to OpenAPI, offline, with Octri's Rust converter.

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

final report = Converter().convert({'input': Converter.text(sourceText)});

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_converter_ffi from the repository and pass its path to Converter.

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

Requests, reports 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
140
points
52
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Native bindings for the offline Octri Rust Spec Converter.

Repository (GitHub)
View/report issues
Contributing

License

Apache-2.0 (license)

More

Packages that depend on octri_spec_converter