open_api_forked 3.0.0%2B6
SDKdartflutter
Platformandroidioswindowslinuxmacosweb
Data structures for OpenAPI (Swagger) specification. Reads and writes JSON specifications. Fork, with a couple of fixes and null safety by @hpoul
open_api_dart
Reads and writes OpenAPI (Swagger) specifications.
Example
final file = File("test/specs/kubernetes.json");
final contents = await file.readAsString();
final doc = APIDocument.fromJSON(contents);
final output = JSON.encode(doc.asMap());