using updated swagger-core