From e387e83ecb5845d07f6d9e4925e632d826548bc2 Mon Sep 17 00:00:00 2001 From: Florian Wininger Date: Tue, 8 Aug 2023 13:32:07 +0200 Subject: [PATCH] Fix a typo on Refresh-after Header According https://github.com/goharbor/pluggable-scanner-spec/blob/a43542d5c0e450624ca452d49f2f9fa9b893d773/api/spec/scanner-adapter-openapi-v1.1.yaml#L148 Retry-After is Refresh-After --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5e9c86f..6207d7a 100644 --- a/README.md +++ b/README.md @@ -148,7 +148,7 @@ The older [Scanner Adapter v1.0 - OpenAPI Specification](./api/spec/scanner-adap curl -H 'Accept: application/vnd.security.vulnerability.report; version=1.1' \ http://scanner-adapter:8080/api/v1/scan/3fa85f64-5717-4562-b3fc-2c963f66afa6/report - Retry-After: 15 + Refresh-After: 15 Status: 302 Found ``` 4. Wait 15 seconds or use your own retry interval ...