()
| 205 | |
| 206 | /* eslint-disable indent */ |
| 207 | render() { |
| 208 | return html` |
| 209 | <div class="col regular-font request-panel ${'read focused'.includes(this.renderStyle) || this.callback === 'true' ? 'read-mode' : 'view-mode'}"> |
| 210 | <div class=" ${this.callback === 'true' ? 'tiny-title' : 'req-res-title'} "> |
| 211 | ${this.callback === 'true' ? 'CALLBACK REQUEST' : 'REQUEST'} |
| 212 | </div> |
| 213 | <div> |
| 214 | ${guard([this.method, this.path, this.allowTry, this.parameters, this.activeParameterSchemaTabs], () => this.inputParametersTemplate('path'))} |
| 215 | ${guard([this.method, this.path, this.allowTry, this.parameters, this.activeParameterSchemaTabs], () => this.inputParametersTemplate('query'))} |
| 216 | ${this.requestBodyTemplate()} |
| 217 | ${guard([this.method, this.path, this.allowTry, this.parameters, this.activeParameterSchemaTabs], () => this.inputParametersTemplate('header'))} |
| 218 | ${guard([this.method, this.path, this.allowTry, this.parameters, this.activeParameterSchemaTabs], () => this.inputParametersTemplate('cookie'))} |
| 219 | ${this.allowTry === 'false' ? '' : html`${this.apiCallTemplate()}`} |
| 220 | </div> |
| 221 | </div> |
| 222 | `; |
| 223 | } |
| 224 | |
| 225 | async updated() { |
| 226 | if (this.showCurlBeforeTry === 'true') { |
nothing calls this directly
no test coverage detected