File tree Expand file tree Collapse file tree 2 files changed +12
-119
lines changed
springdoc-openapi-webflux-core/src/test
java/test/org/springdoc/api/app76 Expand file tree Collapse file tree 2 files changed +12
-119
lines changed Original file line number Diff line number Diff line change 23
23
24
24
package test .org .springdoc .api .app76 ;
25
25
26
+ import org .junit .jupiter .api .Test ;
27
+ import org .springdoc .core .Constants ;
26
28
import test .org .springdoc .api .AbstractSpringDocTest ;
27
29
28
30
import org .springframework .test .context .TestPropertySource ;
@@ -33,4 +35,14 @@ public class SpringDocApp76Test extends AbstractSpringDocTest {
33
35
public SpringDocApp76Test () {
34
36
this .groupName = "/actuator" ;
35
37
}
38
+
39
+
40
+ @ Test
41
+ public void testApp () throws Exception {
42
+ webTestClient .get ().uri (Constants .DEFAULT_API_DOCS_URL + groupName ).exchange ().expectStatus ().isOk ().expectBody ()
43
+ .jsonPath ("$.openapi" ).isEqualTo ("3.0.1" )
44
+ .jsonPath ("$.paths./actuator/info.get.operationId" ).exists ()
45
+ .jsonPath ("$.paths./actuator/health.get.operationId" ).exists ();
46
+ }
47
+
36
48
}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments