Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for _html_safe_json (0.14 seconds)

  1. fastapi/openapi/docs.py

        <script>
        const ui = SwaggerUIBundle({{
            url: '{openapi_url}',
        """
    
        for key, value in current_swagger_ui_parameters.items():
            html += f"{_html_safe_json(key)}: {_html_safe_json(jsonable_encoder(value))},\n"
    
        if oauth2_redirect_url:
            html += f"oauth2RedirectUrl: window.location.origin + '{oauth2_redirect_url}',"
    
        html += """
        presets: [
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 24 09:28:10 GMT 2026
    - 12.1K bytes
    - Click Count (0)
Back to Top