@@ -15,13 +15,34 @@ Feature: Documentation support
15
15
And the JSON node "info.title" should be equal to "My Dummy API"
16
16
And the JSON node "info.description" should be equal to "This is a test API."
17
17
# Supported classes
18
+ And the Swagger class "AbstractDummy" exists
18
19
And the Swagger class "CircularReference" exists
20
+ And the Swagger class "CircularReference_a0dd2858dcb0d966f739c1ac906afa2e" exists
21
+ And the Swagger class "CompositeItem" exists
22
+ And the Swagger class "CompositeLabel" exists
23
+ And the Swagger class "ConcreteDummy" exists
19
24
And the Swagger class "CustomIdentifierDummy" exists
20
- And the Swagger class "CustomNormalizedDummy" exists
25
+ And the Swagger class "CustomNormalizedDummy_601856395b57c6b15175297eb6c9890e" exists
26
+ And the Swagger class "CustomNormalizedDummy_db9cba1a967111a02380774784c47722" exists
21
27
And the Swagger class "CustomWritableIdentifierDummy" exists
22
28
And the Swagger class "Dummy" exists
23
29
And the Swagger class "RelatedDummy" exists
24
- And the Swagger class "RelationEmbedder" exists
30
+ And the Swagger class "DummyTableInheritance" exists
31
+ And the Swagger class "DummyTableInheritanceChild" exists
32
+ And the Swagger class "OverriddenOperationDummy_441e1f98db3d0250bcb18dca087687c3" exists
33
+ And the Swagger class "OverriddenOperationDummy_45f46ed6dc6f412229a8c12cd5583586" exists
34
+ And the Swagger class "OverriddenOperationDummy_868796b9924a520acbb96f8b75dade9f" exists
35
+ And the Swagger class "OverriddenOperationDummy_ff74003f36aebfe31c696fae1f701ae4" exists
36
+ And the Swagger class "RelatedDummy" exists
37
+ And the Swagger class "NoCollectionDummy" exists
38
+ And the Swagger class "RelatedToDummyFriend" exists
39
+ And the Swagger class "RelatedToDummyFriend_ad38b7a2760884e744c577a92e02b8c4" exists
40
+ And the Swagger class "DummyFriend" exists
41
+ And the Swagger class "RelationEmbedder_ced9cba177bf3134e609fccf878df9a7" exists
42
+ And the Swagger class "RelationEmbedder_f02fd88a2291463447338402aee9a220" exists
43
+ And the Swagger class "User_4320517091b72c69e9f0c72aac0141e8" exists
44
+ And the Swagger class "User_7ce91261c0e731d95bb24b83b1f637b2" exists
45
+ And the Swagger class "UuidIdentifierDummy" exists
25
46
And the Swagger class "ThirdLevel" exists
26
47
And the Swagger class "ParentDummy" doesn't exist
27
48
And the Swagger class "UnknownDummy" doesn't exist
@@ -30,10 +51,14 @@ Feature: Documentation support
30
51
And the Swagger path "/api/custom-call/{id}" exists
31
52
And the JSON node "paths./api/custom-call/{id}.get" should exist
32
53
And the JSON node "paths./api/custom-call/{id}.put" should exist
33
-
34
54
# Properties
35
55
And "id" property exists for the Swagger class "Dummy"
36
56
And "name" property is required for Swagger class "Dummy"
57
+ # Filters
58
+ And the JSON node "paths./dummies.get.parameters[0].name" should be equal to "id"
59
+ And the JSON node "paths./dummies.get.parameters[0].in" should be equal to "query"
60
+ And the JSON node "paths./dummies.get.parameters[0].required" should be false
61
+ And the JSON node "paths./dummies.get.parameters[0].type" should be equal to "integer"
37
62
38
63
Scenario : Swagger UI is enabled for the doc endpoint
39
64
Given I add "Accept" header equal to "text/html"
0 commit comments