In the open_api_parser.dart y'all use a processed "type" value as a key on an untransformed schema map.
You should either keep some flat key dictionary or use the same transformations on the map, or at least throw an error if there are non-PascalCase keys there.
Expected results
Runs successfully.
Actual results
` type 'Null' is not a subtype of type 'Map<String, dynamic>' in type cast
Steps to reproduce
Having schemes keys that are not PascalCase.
In the open_api_parser.dart y'all use a processed "type" value as a key on an untransformed schema map.
You should either keep some flat key dictionary or use the same transformations on the map, or at least throw an error if there are non-PascalCase keys there.
Expected results
Runs successfully.
Actual results
` type 'Null' is not a subtype of type 'Map<String, dynamic>' in type cast
0 OpenApiParser.parseRestClients.parametersV3 (package:swagger_parser/src/parser/parser/open_api_parser.dart:356:45)`
Your OpenApi snippet
`{ ..., components: { ..., schemas: { ..., UserJWTPair: {...}}}
Dart version and used packages versions
Dart SDK version: 3.3.3 (stable) (Tue Mar 26 14:21:33 2024 +0000) on "macos_x64"
swagger_parser: ^1.17.2