Harmonize coding style in example in the API spec