- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for initOAuth (0.04 sec)
-
tests/test_swagger_ui_init_oauth.py
client = TestClient(app) def test_swagger_ui(): response = client.get("/docs") assert response.status_code == 200, response.text print(response.text) assert "ui.initOAuth" in response.text assert '"appName": "The Predendapp"' in response.text assert '"clientId": "the-foo-clients"' in response.text def test_response(): response = client.get("/items/")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 09 10:54:05 UTC 2020 - 718 bytes - Viewed (0) -
fastapi/openapi/docs.py
html += """ presets: [ SwaggerUIBundle.presets.apis, SwaggerUIBundle.SwaggerUIStandalonePreset ], })""" if init_oauth: html += f""" ui.initOAuth({json.dumps(jsonable_encoder(init_oauth))}) """ html += """ </script> </body> </html> """ return HTMLResponse(html) def get_redoc_html( *,Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 10.1K bytes - Viewed (0) -
docs/en/docs/release-notes.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 19:06:15 UTC 2025 - 586.7K bytes - Viewed (0)