- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for initOAuth (0.2 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/")
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sun Aug 09 10:54:05 GMT 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( *,
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) -
docs/en/docs/release-notes.md
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sun Apr 28 00:28:00 GMT 2024 - 385.5K bytes - Viewed (1)