()
| 43 | } |
| 44 | |
| 45 | render() { |
| 46 | let { |
| 47 | specPath, |
| 48 | response, |
| 49 | request, |
| 50 | toggleShown, |
| 51 | onTryoutClick, |
| 52 | onResetClick, |
| 53 | onCancelClick, |
| 54 | onExecute, |
| 55 | fn, |
| 56 | getComponent, |
| 57 | getConfigs, |
| 58 | specActions, |
| 59 | specSelectors, |
| 60 | authActions, |
| 61 | authSelectors, |
| 62 | oas3Actions, |
| 63 | oas3Selectors |
| 64 | } = this.props |
| 65 | let operationProps = this.props.operation |
| 66 | |
| 67 | let { |
| 68 | deprecated, |
| 69 | isShown, |
| 70 | path, |
| 71 | method, |
| 72 | op, |
| 73 | tag, |
| 74 | operationId, |
| 75 | allowTryItOut, |
| 76 | displayRequestDuration, |
| 77 | tryItOutEnabled, |
| 78 | executeInProgress |
| 79 | } = operationProps.toObject() |
| 80 | |
| 81 | const description = op.get("description") |
| 82 | const externalDocs = op.get("externalDocs")?.toJS() |
| 83 | const schemes = op.get("schemes")?.toJS() |
| 84 | |
| 85 | const externalDocsUrl = externalDocs ? safeBuildUrl(externalDocs.url, specSelectors.url(), { selectedServer: oas3Selectors.selectedServer() }) : "" |
| 86 | let operation = operationProps.getIn(["op"]) |
| 87 | let responses = operation.get("responses") |
| 88 | let parameters = getList(operation, ["parameters"]) |
| 89 | let operationScheme = specSelectors.operationScheme(path, method) |
| 90 | let isShownKey = ["operations", tag, operationId] |
| 91 | let extensions = getExtensions(operation) |
| 92 | |
| 93 | const Responses = getComponent("responses", true) |
| 94 | const Parameters = getComponent( "parameters", true ) |
| 95 | const Execute = getComponent( "execute" ) |
| 96 | const Clear = getComponent( "clear" ) |
| 97 | const Collapse = getComponent( "Collapse" ) |
| 98 | const Markdown = getComponent("Markdown", true) |
| 99 | const Schemes = getComponent( "schemes" ) |
| 100 | const OperationServers = getComponent( "OperationServers" ) |
| 101 | const OperationExt = getComponent( "OperationExt" ) |
| 102 | const OperationSummary = getComponent( "OperationSummary" ) |
nothing calls this directly
no test coverage detected