Skip to content

Commit 26d92f1

Browse files
committed
add comment for future improvement
1 parent ef97f04 commit 26d92f1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

services/web/server/tests/unit/with_dbs/03/test__openapi_specs.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ def test_app_named_resources_against_openapi_specs(
7777
app_rest_entrypoints: set[Entrypoint],
7878
):
7979
# remove task-legacy routes. These should not be exposed.
80+
# this test compares directly against the openapi specs. In future it would be
81+
# cleaner to compare against the fastapi app entry points in specs and
82+
# avoid including the endpoints there
8083
required_entry_points = {
8184
e
8285
for e in app_rest_entrypoints

0 commit comments

Comments
 (0)