EddieKamau / open-api-dart

OpenAPI (Swagger) data structures in Dart

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

open_api_dart

Reads and writes OpenAPI (Swagger) specifications.

Example

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

final output = JSON.encode(doc.asMap());

About

OpenAPI (Swagger) data structures in Dart

License:BSD 2-Clause "Simplified" License


Languages

Language:Dart 100.0%