API package:servant-swagger

Check whether sub is a sub API of api.