![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/rentpix.corals.io/resources/views/vendor/l5-swagger/ |
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>{{config('l5-swagger.documentations.'.$documentation.'.api.title')}}</title> <link rel="stylesheet" type="text/css" href="{{ l5_swagger_asset($documentation, 'swagger-ui.css') }}"> <link rel="icon" type="image/png" href="{{ l5_swagger_asset($documentation, 'favicon-32x32.png') }}" sizes="32x32"/> <link rel="icon" type="image/png" href="{{ l5_swagger_asset($documentation, 'favicon-16x16.png') }}" sizes="16x16"/> <style> html { box-sizing: border-box; overflow: -moz-scrollbars-vertical; overflow-y: scroll; } *, *:before, *:after { box-sizing: inherit; } body { margin:0; background: #fafafa; } </style> </head> <body> <div id="swagger-ui"></div> <script src="{{ l5_swagger_asset($documentation, 'swagger-ui-bundle.js') }}"></script> <script src="{{ l5_swagger_asset($documentation, 'swagger-ui-standalone-preset.js') }}"></script> <script> const DisableTryItOutPlugin = function() { return { statePlugins: { spec: { wrapSelectors: { allowTryItOutFor: () => () => false } } } } } window.onload = function() { // Build a system const ui = SwaggerUIBundle({ dom_id: '#swagger-ui', url: "{!! $urlToDocs !!}", operationsSorter: {!! isset($operationsSorter) ? '"' . $operationsSorter . '"' : 'null' !!}, configUrl: {!! isset($configUrl) ? '"' . $configUrl . '"' : 'null' !!}, validatorUrl: {!! isset($validatorUrl) ? '"' . $validatorUrl . '"' : 'null' !!}, oauth2RedirectUrl: "{{ route('l5-swagger.'.$documentation.'.oauth2_callback', [], $useAbsolutePath) }}", requestInterceptor: function(request) { request.headers['X-CSRF-TOKEN'] = '{{ csrf_token() }}'; return request; }, presets: [ SwaggerUIBundle.presets.apis, SwaggerUIStandalonePreset ], plugins: [ SwaggerUIBundle.plugins.DownloadUrl, // DisableTryItOutPlugin ], layout: "StandaloneLayout", docExpansion : "{!! config('l5-swagger.defaults.ui.display.doc_expansion', 'none') !!}", deepLinking: true, filter: {!! config('l5-swagger.defaults.ui.display.filter') ? 'true' : 'false' !!}, persistAuthorization: "{!! config('l5-swagger.defaults.ui.authorization.persist_authorization') ? 'true' : 'false' !!}", }) window.ui = ui @if(in_array('oauth2', array_column(config('l5-swagger.defaults.securityDefinitions.securitySchemes'), 'type'))) ui.initOAuth({ usePkceWithAuthorizationCodeGrant: "{!! (bool)config('l5-swagger.defaults.ui.authorization.oauth2.use_pkce_with_authorization_code_grant') !!}" }) @endif } </script> </body> </html>