0 purchases
swagger json filter
Usage #
import 'package:swagger_json_filter/swagger_json_filter.dart';
copied to clipboard
final specPath = 'pet.json';
final jsonString = File(specPath).readAsStringSync();
final swaggerJsonFilter = SwaggerJsonFilter(
options: SwaggerJsonFilterOptions(
// includeTags: [
// RegExp(r'^Include Tag.*'),
// ],
// excludeTags: [
// RegExp(r'^Exclude Tag$'),
// ],
// includePaths: [
// RegExp(r'^/api/v1/app/.*'),
// ],
// excludePaths: [
// RegExp(r'(.*?)'),
// ],
),
);
final output = swaggerJsonFilter.filter(jsonString);
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.