inheritance according to swagger 2.0 implemented