@ Override public void applyImplicitParameters ( ReaderContext context , Operation operation , Method method ) { // copied from io.swagger.servlet.extensions.ServletReaderExtension final ApiImplicitParams implicitParams = method . getAnnotation ( ApiImplicitParams . class ) ; if ( implicitParams != null && implicitParams . value ( ) . length > 0 ) { for ( ApiImplicitParam param : implicitParams . value ( ) ) { final Parameter p = readImplicitParam ( context . getSwagger ( ) , param ) ; if ( p != null ) { if ( p instanceof BodyParameter && param . format ( ) != null ) p . getVendorExtensions ( ) . put ( "format" , param . format ( ) ) ; operation . parameter ( p ) ; } } } }
Implemented to allow loading of custom types using CloudClassLoader .