- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for SwaggerUIStandalonePreset (0.35 sec)
-
tests/test_tutorial/test_configure_swagger_ui/test_tutorial001.py
assert ( "SwaggerUIBundle.presets.apis," in response.text ), "default configs should be preserved" assert ( "SwaggerUIBundle.SwaggerUIStandalonePreset" in response.text ), "default configs should be preserved" assert ( '"layout": "BaseLayout",' in response.text ), "default configs should be preserved" assert (
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Aug 19 19:54:04 GMT 2023 - 1.4K bytes - Viewed (0) -
tests/test_tutorial/test_configure_swagger_ui/test_tutorial003.py
assert ( "SwaggerUIBundle.presets.apis," in response.text ), "default configs should be preserved" assert ( "SwaggerUIBundle.SwaggerUIStandalonePreset" in response.text ), "default configs should be preserved" assert ( '"layout": "BaseLayout",' in response.text ), "default configs should be preserved" assert (
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Aug 19 19:54:04 GMT 2023 - 1.5K bytes - Viewed (0) -
tests/test_tutorial/test_configure_swagger_ui/test_tutorial002.py
assert ( "SwaggerUIBundle.presets.apis," in response.text ), "default configs should be preserved" assert ( "SwaggerUIBundle.SwaggerUIStandalonePreset" in response.text ), "default configs should be preserved" assert ( '"layout": "BaseLayout",' in response.text ), "default configs should be preserved" assert (
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Aug 19 19:54:04 GMT 2023 - 1.5K bytes - Viewed (0) -
docs/en/docs/how-to/configure-swagger-ui.md
FastAPI also includes these JavaScript-only `presets` settings: ```JavaScript presets: [ SwaggerUIBundle.presets.apis, SwaggerUIBundle.SwaggerUIStandalonePreset ] ``` These are **JavaScript** objects, not strings, so you can't pass them from Python code directly.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 2.8K bytes - Viewed (0) -
docs/de/docs/how-to/configure-swagger-ui.md
FastAPI umfasst auch diese Nur-JavaScript-`presets`-Einstellungen: ```JavaScript presets: [ SwaggerUIBundle.presets.apis, SwaggerUIBundle.SwaggerUIStandalonePreset ] ``` Dabei handelt es sich um **JavaScript**-Objekte, nicht um Strings, daher können Sie diese nicht direkt vom Python-Code aus übergeben.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Mar 30 18:17:49 GMT 2024 - 3.3K bytes - Viewed (0) -
fastapi/openapi/docs.py
html += f"oauth2RedirectUrl: window.location.origin + '{oauth2_redirect_url}'," html += """ presets: [ SwaggerUIBundle.presets.apis, SwaggerUIBundle.SwaggerUIStandalonePreset ], })""" if init_oauth: html += f""" ui.initOAuth({json.dumps(jsonable_encoder(init_oauth))}) """ html += """ </script> </body>
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Apr 02 02:48:51 GMT 2024 - 10.1K bytes - Viewed (0)