tridev_open_api

Creator: coderz1093

Last updated:

0 purchases

tridev_open_api Image
tridev_open_api Images
Add to Cart

Description:

tridev open api

tridev_open_api #
Reads and writes OpenAPI (Swagger) specifications.
tridev_open_api supports both v2 and v3 of the open_api specification.
To use v2 import:
import 'package:tridev_open_api/v2.dart';
copied to clipboard
To use v3 import:
import 'package:tridev_open_api/v3.dart';
copied to clipboard
You can us v2 and v3 within a single project.
Example #
import 'package:tridev_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());
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.