conduit_open_api_forked 1.0.1 icon indicating copy to clipboard operation
conduit_open_api_forked: ^1.0.1 copied to clipboard

Data structures for OpenAPI (Swagger) specification. Reads and writes JSON specifications. Fork, with discriminator support.

conduit_open_api #

Reads and writes OpenAPI (Swagger) specifications.

conduit_open_api supports both v2 and v3 of the open_api specification.

To use v2 import:

import 'package:conduit_open_api/v2.dart';

To use v3 import:

import 'package:conduit_open_api/v3.dart';

You can us v2 and v3 within a single project.

Example #

import 'package:conduit_open_api/v3.dart';


final file = File("test/specs/kubernetes.json");
final contents = await file.readAsString();
final doc = APIDocument.fromJSON(contents);

final output = JSON.encode(doc.asMap());
1
likes
120
pub points
4%
popularity

Publisher

unverified uploader

Data structures for OpenAPI (Swagger) specification. Reads and writes JSON specifications. Fork, with discriminator support.

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.BSD-2-Clause (LICENSE)

Dependencies

conduit_codable, meta

More

Packages that depend on conduit_open_api_forked