[api] Fix a spec typo in order_spec

Fixes #4242