Jaycean commented on a change in pull request #2555:
URL: https://github.com/apache/apisix/pull/2555#discussion_r513983451
##########
File path: t/plugin/jwt-auth.t
##########
@@ -519,3 +519,23 @@ GET /t
\{"error_msg":"failed to check the configuration of plugin jwt-auth err:
additional properties forbidden, found key"\}
--- no_error_log
[error]
+
+
+
+=== TEST 25: get the schema by schema_type
+--- request
+GET /apisix/admin/schema/plugins/jwt-auth?schema_type=consumer
+--- response_body
+{"required":["key"],"properties":{"exp":{"minimum":1,"type":"integer"},"algorithm":{"type":"string","default":"HS256","enum":["HS256","HS512","RS256"]},"base64_secret":{"default":false,"type":"boolean"},"secret":{"type":"string"},"key":{"type":"string"}},"additionalProperties":false,"type":"object"}
+--- no_error_log
+[error]
+
+
+
+=== TEST 26: get the schema by error schema_type
Review comment:
@spacewander done.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]