mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 17:17:09 +00:00
removed personal / company details in the example swagger
This commit is contained in:
parent
56968dba18
commit
8435a86348
@ -367,11 +367,11 @@ object ExampleValue {
|
||||
| "swagger": "2.0",
|
||||
| "info": {
|
||||
| "version": "0.0.1",
|
||||
| "title": "Portus EVS sandbox demo API",
|
||||
| "description": "Portus EVS sandbox demo API",
|
||||
| "title": "Example Title",
|
||||
| "description": "Example Description",
|
||||
| "contact": {
|
||||
| "name": "Digital & FinTech, Grant Thornton",
|
||||
| "email": "peng.xu@ie.gt.com",
|
||||
| "name": "Example Company",
|
||||
| "email": " simon@example.com",
|
||||
| "url": "https://www.tesobe.com/"
|
||||
| }
|
||||
| },
|
||||
|
||||
@ -72,9 +72,9 @@ class DynamicEndpointsTest extends V400ServerSetup {
|
||||
responseWithRole.code should equal(201)
|
||||
responseWithRole.body.toString contains("dynamic_endpoint_id") should be (true)
|
||||
responseWithRole.body.toString contains("swagger_string") should be (true)
|
||||
responseWithRole.body.toString contains("Portus EVS sandbox demo API") should be (true)
|
||||
responseWithRole.body.toString contains("content user-friendly error message") should be (true)
|
||||
responseWithRole.body.toString contains("create user successful and return created user object") should be (true)
|
||||
responseWithRole.body.toString contains("Example Title") should be (true)
|
||||
responseWithRole.body.toString contains("Example Description") should be (true)
|
||||
responseWithRole.body.toString contains("Example Company") should be (true)
|
||||
}
|
||||
}
|
||||
|
||||
@ -123,9 +123,9 @@ class DynamicEndpointsTest extends V400ServerSetup {
|
||||
val request400 = (v4_0_0_Request / "management" / "dynamic-endpoints").GET<@ (user1)
|
||||
val response400 = makeGetRequest(request400)
|
||||
response400.code should be (200)
|
||||
response400.body.toString contains("Portus EVS sandbox demo API") should be (true)
|
||||
response400.body.toString contains("content user-friendly error message") should be (true)
|
||||
response400.body.toString contains("create user successful and return created user object") should be (true)
|
||||
response400.body.toString contains("Example Title") should be (true)
|
||||
response400.body.toString contains("Example Description") should be (true)
|
||||
response400.body.toString contains("Example Company") should be (true)
|
||||
|
||||
}
|
||||
}
|
||||
@ -179,9 +179,9 @@ class DynamicEndpointsTest extends V400ServerSetup {
|
||||
response400.code should be (200)
|
||||
response400.body.toString contains("dynamic_endpoint_id") should be (true)
|
||||
response400.body.toString contains("swagger_string") should be (true)
|
||||
response400.body.toString contains("Portus EVS sandbox demo API") should be (true)
|
||||
response400.body.toString contains("content user-friendly error message") should be (true)
|
||||
response400.body.toString contains("create user successful and return created user object") should be (true)
|
||||
response400.body.toString contains("Example Title") should be (true)
|
||||
response400.body.toString contains("Example Description") should be (true)
|
||||
response400.body.toString contains("Example Company") should be (true)
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user