File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
44The format is based on [ Keep a Changelog] ( http://keepachangelog.com/ )
55and this project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
66
7- ## [ 1.0.0] 2022-06-22
7+ ## [ 1.1.0] 2021-12-21
8+ ### Fixed
9+ - Failed to validate API-Request using a path parameter [ #1 ] ( https://github.com/Axway-API-Management-Plus/openapi-validator/issues/1 )
10+
11+ ### Added
12+ - Given path variable should support the full exposure path [ #2 ] ( https://github.com/Axway-API-Management-Plus/openapi-validator/issues/2 )
13+
14+ ## [ 1.0.0] 2021-06-22
815
916- Initial release
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ def invoke(msg)
3333 def validator = OpenAPIValidator.getInstance(apiId, "apiadmin", "changeme");
3434 // Get required parameters for the validation
3535 def payload = bodyAsString(msg.get('content.body'));
36- def path = msg.get("api.method .path");
36+ def path = msg.get("http.request .path");
3737 def verb = msg.get("http.request.verb");
3838 def queryParams = msg.get("params.query");
3939 def headers = msg.get("http.headers");
@@ -74,7 +74,7 @@ def invoke(msg)
7474 def apiId = msg.get("api.id");
7575 def validator = OpenAPIValidator.getInstance(apiId, "apiadmin", "changeme");
7676 def payload = bodyAsString(msg.get('content.body'));
77- def path = msg.get("api.method .path");
77+ def path = msg.get("http.request .path");
7878 def verb = msg.get("http.request.verb");
7979 def status = msg.get("http.response.status");
8080 def headers = msg.get("http.headers");
You can’t perform that action at this time.
0 commit comments