mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 17:17:09 +00:00
tweaked the dynamicEndpointId -> dynamic_endpoint_id
tweaked the swaggerString -> swagger_string
This commit is contained in:
parent
b805e47c9e
commit
3b5e08c6cc
@ -2806,7 +2806,7 @@ trait APIMethods400 {
|
||||
(dynamicEndpoint, callContext) <- NewStyle.function.createDynamicEndpoint(postedJson.swaggerString, cc.callContext)
|
||||
} yield {
|
||||
val swaggerJson = parse(dynamicEndpoint.swaggerString)
|
||||
val responseJson: JObject = ("dynamicEndpointId", dynamicEndpoint.dynamicEndpointId) ~ ("swaggerString", swaggerJson)
|
||||
val responseJson: JObject = ("dynamic_endpoint_id", dynamicEndpoint.dynamicEndpointId) ~ ("swagger_string", swaggerJson)
|
||||
(responseJson, HttpCode.`201`(callContext))
|
||||
}
|
||||
}
|
||||
@ -2845,7 +2845,7 @@ trait APIMethods400 {
|
||||
(dynamicEndpoint, callContext) <- NewStyle.function.getDynamicEndpoint(dynamicEndpointId, cc.callContext)
|
||||
} yield {
|
||||
val swaggerJson = parse(dynamicEndpoint.swaggerString)
|
||||
val responseJson: JObject = ("dynamicEndpointId", dynamicEndpoint.dynamicEndpointId) ~ ("swaggerString", swaggerJson)
|
||||
val responseJson: JObject = ("dynamic_endpoint_id", dynamicEndpoint.dynamicEndpointId) ~ ("swagger_string", swaggerJson)
|
||||
(responseJson, HttpCode.`201`(callContext))
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user