Fixing api spec