ParserSettings
Settings for configuring the SnakeYAML parser used by swagger-parser.
YAML settings default to null, which preserves SnakeYAML's built-in defaults:
yamlCodePointLimit: ~3MB (3,145,728 code points)yamlMaxAliasesForCollections: 50yamlAllowRecursiveKeys: falseyamlNestingDepthLimit: 50
Thread Safety: These settings configure DeserializationUtils.getOptions(), which is a global static in swagger-parser. Parsing calls are synchronized by art.galushko.openapi.testgen.openapi.OpenApiSpecParser to ensure each parse run applies settings atomically.
Properties
Whether to allow recursive keys. Keep false to prevent infinite loops.
Maximum code points to parse. Increase for large YAML specs (>3MB).
Maximum YAML aliases for collections (DoS protection).
Maximum nesting depth for YAML structures.