MCPcopy Index your code
hub / github.com/dataease/SQLBot / render

Method render

frontend/public/swagger-ui-bundle.js:60143–60398  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60141 specPath: (0, ze.List)(),
60142 summary: '',
60143 }
60144 render() {
60145 let {
60146 specPath: s,
60147 response: o,
60148 request: i,
60149 toggleShown: a,
60150 onTryoutClick: u,
60151 onResetClick: _,
60152 onCancelClick: w,
60153 onExecute: x,
60154 fn: C,
60155 getComponent: j,
60156 getConfigs: L,
60157 specActions: B,
60158 specSelectors: $,
60159 authActions: U,
60160 authSelectors: V,
60161 oas3Actions: z,
60162 oas3Selectors: Y,
60163 } = this.props,
60164 Z = this.props.operation,
60165 {
60166 deprecated: ee,
60167 isShown: ie,
60168 path: ae,
60169 method: ce,
60170 op: le,
60171 tag: pe,
60172 operationId: de,
60173 allowTryItOut: fe,
60174 displayRequestDuration: ye,
60175 tryItOutEnabled: be,
60176 executeInProgress: _e,
60177 } = Z.toJS(),
60178 { description: Se, externalDocs: we, schemes: xe } = le
60179 const Pe = we
60180 ? safeBuildUrl(we.url, $.url(), { selectedServer: Y.selectedServer() })
60181 : ''
60182 let Te = Z.getIn(['op']),
60183 $e = Te.get('responses'),
60184 qe = (function getList(s, o) {
60185 if (!We().Iterable.isIterable(s)) return We().List()
60186 let i = s.getIn(Array.isArray(o) ? o : [o])
60187 return We().List.isList(i) ? i : We().List()
60188 })(Te, ['parameters']),
60189 ze = $.operationScheme(ae, ce),
60190 He = ['operations', pe, de],
60191 Ye = getExtensions(Te)
60192 const Xe = j('responses'),
60193 Qe = j('parameters'),
60194 et = j('execute'),
60195 tt = j('clear'),
60196 rt = j('Collapse'),
60197 nt = j('Markdown', !0),
60198 st = j('schemes'),
60199 ot = j('OperationServers'),
60200 it = j('OperationExt'),

Callers

nothing calls this directly

Calls 14

safeBuildUrlFunction · 0.85
getExtensionsFunction · 0.85
escapeDeepLinkPathFunction · 0.85
sanitizeUrlFunction · 0.85
LFunction · 0.70
getMethod · 0.65
WeFunction · 0.50
jFunction · 0.50
urlMethod · 0.45
isArrayMethod · 0.45
setMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected