Copying minor updates to SwaggerFeature 3.0.x  made as part of bigger changes on the trunk