Skip to content

Commit 1be53d5

Browse files
committed
bad imports and oas
1 parent 7f76279 commit 1be53d5

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

services/payments/openapi.json

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -483,16 +483,22 @@
483483
"title": "Message"
484484
},
485485
"payment_method_id": {
486-
"type": "string",
487-
"maxLength": 100,
488-
"minLength": 1,
486+
"anyOf": [
487+
{
488+
"type": "string",
489+
"maxLength": 100,
490+
"minLength": 1
491+
},
492+
{
493+
"type": "null"
494+
}
495+
],
489496
"title": "Payment Method Id"
490497
}
491498
},
492499
"type": "object",
493500
"required": [
494-
"success",
495-
"payment_method_id"
501+
"success"
496502
],
497503
"title": "SavedPaymentMethod"
498504
},

services/web/server/tests/unit/with_dbs/04/studies_dispatcher/test_studies_dispatcher_handlers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
from typing import Any
1313

1414
import pytest
15+
import simcore_service_webserver.studies_dispatcher
1516
import sqlalchemy as sa
1617
from aiohttp import ClientResponse, ClientSession
1718
from aiohttp.test_utils import TestClient, TestServer

0 commit comments

Comments
 (0)