swagger-api / swagger-parser

Swagger Spec to Java POJOs
http://swagger.io
Apache License 2.0
778 stars 525 forks source link

parser-v2: Extend DeserializationUtils methods to enable providing a custom YAMLMapper #1935

Closed CalemRoelofsSB closed 1 year ago

CalemRoelofsSB commented 1 year ago

This PR adds the possibility to set a custom YAML mapper for parsing OAS 2.0 documents with DeserializationUtils methods.

CalemRoelofsSB commented 1 year ago

@frantuma totally agree, have updated it now to accept a YAMLFactory and create the mapper using it from the ObjectMapperFactory in swagger-core