Last active
May 5, 2023 07:10
-
-
Save thomasmartin-whoz/09115897c0951a3b40e3fc7be5fe4d91 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface VersionTransformer { | |
fun sourceVersionNumber(): ApiVersion | |
fun accept(exchange: ServerWebExchange): Boolean | |
fun transformRequestQueryParam(queryParams: MultiValueMap<String, String>): MultiValueMap<String, String> = queryParams | |
fun transformResponseObjectNode(responseBody: ObjectNode): ObjectNode | |
fun transformRequestObjectNode(requestBody: ObjectNode): ObjectNode | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment