swagger-api/swagger-core — pull request #739 by tpetr (2014-11-05 05:11:24+00:00)
Title: Unwrap optional types in models

This PR treats optional fields as their unwrapped counterparts (#728). The class name string comparison feels a little janky, but should support both Guava and Java 8 optionals.

/cc @wsorenson @hgschmie @stevenschlansker