From d3a4aeb452fe85520161bda8d195925988171e73 Mon Sep 17 00:00:00 2001 From: thc202 Date: Fri, 20 Sep 2024 14:37:48 +0100 Subject: [PATCH] openapi: update docs to match latest behaviour Indicate that the AF job uses the first context by default (#5703). Signed-off-by: thc202 --- .../extension/openapi/resources/help/contents/automation.html | 2 +- .../zaproxy/zap/extension/openapi/resources/openapi-max.yaml | 2 +- .../zaproxy/zap/extension/openapi/resources/openapi-min.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addOns/openapi/src/main/javahelp/org/zaproxy/zap/extension/openapi/resources/help/contents/automation.html b/addOns/openapi/src/main/javahelp/org/zaproxy/zap/extension/openapi/resources/help/contents/automation.html index 7697197f196..e1400ad312e 100644 --- a/addOns/openapi/src/main/javahelp/org/zaproxy/zap/extension/openapi/resources/help/contents/automation.html +++ b/addOns/openapi/src/main/javahelp/org/zaproxy/zap/extension/openapi/resources/help/contents/automation.html @@ -23,7 +23,7 @@

Job: openapi

parameters: apiFile: # String: Local file containing the OpenAPI definition, default: null, no definition will be imported apiUrl: # String: URL containing the OpenAPI definition, default: null, no definition will be imported - context: # String: Context to use when importing the OpenAPI definition, default: null, no context will be used + context: # String: Context to use when importing the OpenAPI definition, default: first context. user: # String: An optional user to use for authentication, must be defined in the env. targetUrl: # String: URL which overrides the target defined in the definition, default: null, the target will not be overridden diff --git a/addOns/openapi/src/main/resources/org/zaproxy/zap/extension/openapi/resources/openapi-max.yaml b/addOns/openapi/src/main/resources/org/zaproxy/zap/extension/openapi/resources/openapi-max.yaml index 3d9370ff170..1a097a2ee58 100644 --- a/addOns/openapi/src/main/resources/org/zaproxy/zap/extension/openapi/resources/openapi-max.yaml +++ b/addOns/openapi/src/main/resources/org/zaproxy/zap/extension/openapi/resources/openapi-max.yaml @@ -2,6 +2,6 @@ parameters: apiFile: # String: Local file containing the OpenAPI definition, default: null, no definition will be imported apiUrl: # String: URL containing the OpenAPI definition, default: null, no definition will be imported - context: # String: Context to use when importing the OpenAPI definition, default: null, no context will be used + context: # String: Context to use when importing the OpenAPI definition, default: first context. user: # String: An optional user to use for authentication, must be defined in the env. targetUrl: # String: URL which overrides the target defined in the definition, default: null, the target will not be overridden diff --git a/addOns/openapi/src/main/resources/org/zaproxy/zap/extension/openapi/resources/openapi-min.yaml b/addOns/openapi/src/main/resources/org/zaproxy/zap/extension/openapi/resources/openapi-min.yaml index d2ac6a653a9..c1b0bb7819d 100644 --- a/addOns/openapi/src/main/resources/org/zaproxy/zap/extension/openapi/resources/openapi-min.yaml +++ b/addOns/openapi/src/main/resources/org/zaproxy/zap/extension/openapi/resources/openapi-min.yaml @@ -2,5 +2,5 @@ parameters: apiFile: # String: Local file containing the OpenAPI definition, default: null, no definition will be imported apiUrl: # String: URL containing the OpenAPI definition, default: null, no definition will be imported - context: # String: Context to use when importing the OpenAPI definition, default: null, no context will be used + context: # String: Context to use when importing the OpenAPI definition, default: first context. targetUrl: # String: URL which overrides the target defined in the definition, default: null, the target will not be overridden