(openapi)
| 571 | } |
| 572 | |
| 573 | function patches(openapi) { |
| 574 | if (openapi.info["x-serviceName"] === 'data.mediastore') { |
| 575 | delete openapi.components.schemas.GetObjectResponse.required; |
| 576 | } |
| 577 | } |
| 578 | |
| 579 | function attachParameters(openapi, src, op, action, consumes, options) { |
| 580 | if (op.input && op.input.shape) { |