List<AnyFile> makeSwaggerFiles(Map<String, dynamic> spec) { return [ makeSwaggerFile(spec, OutputFormat.yaml), makeSwaggerFile(spec, OutputFormat.json), ]; }