From a7f5303eaf910e3b7375a4abfbe7a2fc2949fcf7 Mon Sep 17 00:00:00 2001 From: Exterminator11 Date: Sun, 15 Oct 2023 17:20:50 +0530 Subject: [PATCH] Cleaned up the code --- scripts/parser/file/openapi3_parser.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/parser/file/openapi3_parser.py b/scripts/parser/file/openapi3_parser.py index 9b3be5cd..4fd1ffaf 100644 --- a/scripts/parser/file/openapi3_parser.py +++ b/scripts/parser/file/openapi3_parser.py @@ -46,9 +46,6 @@ class OpenAPI3Parser(BaseParser): f"parameters: {path.parameters}\nmethods: {info}\n" ) i += 1 - if i == 2: - with open("reff.txt", "w") as f: - f.write(str(path)) with open("results.txt", "w") as f: f.write(results) return results