Adds a complex api spec.