ensure empty parameters array exist even when no params present

This matches operation.parameters defined at https://github.com/swagger-api/swagger-spec/blob/master/versions/1.2.md#523-operation-object