You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: features/openapi/docs.feature
+13-13Lines changed: 13 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -107,13 +107,13 @@ Feature: Documentation support
107
107
#And the "isDummyBoolean" property exists for the OpenAPI class "DummyBoolean"
108
108
#And the "isDummyBoolean" property is not read only for the OpenAPI class "DummyBoolean"
109
109
# Filters
110
-
And the JSON node "paths./dummies.get.parameters[3].name" should be equal to "dummyBoolean"
111
-
And the JSON node "paths./dummies.get.parameters[3].in" should be equal to "query"
112
-
And the JSON node "paths./dummies.get.parameters[3].required" should be false
113
-
And the JSON node "paths./dummies.get.parameters[3].schema.type" should be equal to "boolean"
110
+
And the JSON node "paths./dummies.get.parameters[4].name" should be equal to "dummyBoolean"
111
+
And the JSON node "paths./dummies.get.parameters[4].in" should be equal to "query"
112
+
And the JSON node "paths./dummies.get.parameters[4].required" should be false
113
+
And the JSON node "paths./dummies.get.parameters[4].schema.type" should be equal to "boolean"
114
114
115
-
And the JSON node "paths./dummy_cars.get.parameters[8].name" should be equal to "foobar[]"
116
-
And the JSON node "paths./dummy_cars.get.parameters[8].description" should be equal to "Allows you to reduce the response to contain only the properties you need. If your desired property is nested, you can address it using nested arrays. Example: foobar[]={propertyName}&foobar[]={anotherPropertyName}&foobar[{nestedPropertyParent}][]={nestedProperty}"
115
+
And the JSON node "paths./dummy_cars.get.parameters[9].name" should be equal to "foobar[]"
116
+
And the JSON node "paths./dummy_cars.get.parameters[9].description" should be equal to "Allows you to reduce the response to contain only the properties you need. If your desired property is nested, you can address it using nested arrays. Example: foobar[]={propertyName}&foobar[]={anotherPropertyName}&foobar[{nestedPropertyParent}][]={nestedProperty}"
117
117
118
118
# Webhook
119
119
And the JSON node "webhooks.a.get.description" should be equal to "Something else here for example"
@@ -140,16 +140,16 @@ Feature: Documentation support
140
140
And the JSON node "paths./related_dummies/{id}/related_to_dummy_friends.get.parameters[3].required" should be false
141
141
And the JSON node "paths./related_dummies/{id}/related_to_dummy_friends.get.parameters[3].schema.type" should be equal to "boolean"
142
142
143
-
And the JSON node "paths./related_dummies/{id}/related_to_dummy_friends.get.parameters[4].name" should be equal to "name"
144
-
And the JSON node "paths./related_dummies/{id}/related_to_dummy_friends.get.parameters[4].in" should be equal to "query"
145
-
And the JSON node "paths./related_dummies/{id}/related_to_dummy_friends.get.parameters[4].required" should be false
146
-
And the JSON node "paths./related_dummies/{id}/related_to_dummy_friends.get.parameters[4].schema.type" should be equal to "string"
147
-
148
-
And the JSON node "paths./related_dummies/{id}/related_to_dummy_friends.get.parameters[5].name" should be equal to "description"
143
+
And the JSON node "paths./related_dummies/{id}/related_to_dummy_friends.get.parameters[5].name" should be equal to "name"
149
144
And the JSON node "paths./related_dummies/{id}/related_to_dummy_friends.get.parameters[5].in" should be equal to "query"
150
145
And the JSON node "paths./related_dummies/{id}/related_to_dummy_friends.get.parameters[5].required" should be false
146
+
And the JSON node "paths./related_dummies/{id}/related_to_dummy_friends.get.parameters[5].schema.type" should be equal to "string"
147
+
148
+
And the JSON node "paths./related_dummies/{id}/related_to_dummy_friends.get.parameters[6].name" should be equal to "description"
149
+
And the JSON node "paths./related_dummies/{id}/related_to_dummy_friends.get.parameters[6].in" should be equal to "query"
150
+
And the JSON node "paths./related_dummies/{id}/related_to_dummy_friends.get.parameters[6].required" should be false
151
151
152
-
And the JSON node "paths./related_dummies/{id}/related_to_dummy_friends.get.parameters" should have 6 elements
152
+
And the JSON node "paths./related_dummies/{id}/related_to_dummy_friends.get.parameters" should have 7 elements
153
153
154
154
# Subcollection - check schema
155
155
And the JSON node "paths./related_dummies/{id}/related_to_dummy_friends.get.responses.200.content.application/ld+json.schema.allOf[1].properties.hydra:member.items.$ref" should be equal to "#/components/schemas/RelatedToDummyFriend.jsonld-fakemanytomany"
0 commit comments