diff --git a/src/test/java/io/swagger/oas/test/integration/SwaggerListingIT.java b/src/test/java/io/swagger/oas/test/integration/SwaggerListingIT.java index 5c3581ed..27ae5940 100644 --- a/src/test/java/io/swagger/oas/test/integration/SwaggerListingIT.java +++ b/src/test/java/io/swagger/oas/test/integration/SwaggerListingIT.java @@ -57,6 +57,20 @@ public void verifySwaggerYaml() throws Exception { verifySwaggerExtensions(openAPI); } + @Test + public void verifyDebugJson() throws Exception { + ApiClient client = new ApiClient(); + client.invokeAPI("/swagger/debug.json", + "GET", + new HashMap(), + null, + new HashMap(), + null, + "application/json", + null, + new String[0]); + } + private void verifySwaggerExtensions(OpenAPI openAPI) { openAPI.getPaths().forEach((k, p) -> { if (p.getPost() != null && p.getPost().getExtensions() != null) {