moved to swagger-core