We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76b1cb6 commit 587131cCopy full SHA for 587131c
tests/functional/event_handler/test_openapi_servers.py
@@ -17,10 +17,10 @@ def test_openapi_schema_custom_server():
17
schema = app.get_openapi_schema(
18
title="Hello API",
19
version="1.0.0",
20
- servers=[Server(url="https://example.org", description="Example website")],
+ servers=[Server(url="https://example.org/", description="Example website")],
21
)
22
23
assert schema.servers
24
assert len(schema.servers) == 1
25
- assert str(schema.servers[0].url) == "https://example.org"
+ assert str(schema.servers[0].url) == "https://example.org/"
26
assert schema.servers[0].description == "Example website"
0 commit comments