From 7e875e3d96744652bce07d80e6b85b5f68edeb22 Mon Sep 17 00:00:00 2001 From: StarProxima Date: Thu, 9 May 2024 20:43:23 +0300 Subject: [PATCH] Fix docs --- swagger_parser/lib/src/parser/parser/open_api_parser.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swagger_parser/lib/src/parser/parser/open_api_parser.dart b/swagger_parser/lib/src/parser/parser/open_api_parser.dart index 72b63ed6..3cb5be0b 100644 --- a/swagger_parser/lib/src/parser/parser/open_api_parser.dart +++ b/swagger_parser/lib/src/parser/parser/open_api_parser.dart @@ -178,7 +178,7 @@ class OpenApiParser { final typeWithImport = _findType( contentTypeValue[_schemaConst] as Map, additionalName: additionalName, - // Return type The return type is most often required in any case + // Return type is most often required in any case isRequired: true, ); if (typeWithImport.import != null) { @@ -445,7 +445,7 @@ class OpenApiParser { final typeWithImport = _findType( code2xx[_schemaConst] as Map? ?? {}, additionalName: additionalName, - // Return type The return type is most often required in any case + // Return type is most often required in any case isRequired: true, ); if (typeWithImport.import != null) {