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
@@ -108,13 +108,13 @@ Feature: Documentation support
108
108
#And the "isDummyBoolean" property exists for the OpenAPI class "DummyBoolean"
109
109
#And the "isDummyBoolean" property is not read only for the OpenAPI class "DummyBoolean"
110
110
# Filters
111
-
And the JSON node "paths./dummies.get.parameters[3].name" should be equal to "dummyBoolean"
112
-
And the JSON node "paths./dummies.get.parameters[3].in" should be equal to "query"
113
-
And the JSON node "paths./dummies.get.parameters[3].required" should be false
114
-
And the JSON node "paths./dummies.get.parameters[3].schema.type" should be equal to "boolean"
111
+
And the JSON node "paths./dummies.get.parameters[4].name" should be equal to "dummyBoolean"
112
+
And the JSON node "paths./dummies.get.parameters[4].in" should be equal to "query"
113
+
And the JSON node "paths./dummies.get.parameters[4].required" should be false
114
+
And the JSON node "paths./dummies.get.parameters[4].schema.type" should be equal to "boolean"
115
115
116
-
And the JSON node "paths./dummy_cars.get.parameters[8].name" should be equal to "foobar[]"
117
-
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}"
116
+
And the JSON node "paths./dummy_cars.get.parameters[9].name" should be equal to "foobar[]"
117
+
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}"
118
118
119
119
# Webhook
120
120
And the JSON node "webhooks.a.get.description" should be equal to "Something else here for example"
@@ -141,16 +141,16 @@ Feature: Documentation support
141
141
And the JSON node "paths./related_dummies/{id}/related_to_dummy_friends.get.parameters[3].required" should be false
142
142
And the JSON node "paths./related_dummies/{id}/related_to_dummy_friends.get.parameters[3].schema.type" should be equal to "boolean"
143
143
144
-
And the JSON node "paths./related_dummies/{id}/related_to_dummy_friends.get.parameters[4].name" should be equal to "name"
145
-
And the JSON node "paths./related_dummies/{id}/related_to_dummy_friends.get.parameters[4].in" should be equal to "query"
146
-
And the JSON node "paths./related_dummies/{id}/related_to_dummy_friends.get.parameters[4].required" should be false
147
-
And the JSON node "paths./related_dummies/{id}/related_to_dummy_friends.get.parameters[4].schema.type" should be equal to "string"
148
-
149
-
And the JSON node "paths./related_dummies/{id}/related_to_dummy_friends.get.parameters[5].name" should be equal to "description"
144
+
And the JSON node "paths./related_dummies/{id}/related_to_dummy_friends.get.parameters[5].name" should be equal to "name"
150
145
And the JSON node "paths./related_dummies/{id}/related_to_dummy_friends.get.parameters[5].in" should be equal to "query"
151
146
And the JSON node "paths./related_dummies/{id}/related_to_dummy_friends.get.parameters[5].required" should be false
147
+
And the JSON node "paths./related_dummies/{id}/related_to_dummy_friends.get.parameters[5].schema.type" should be equal to "string"
148
+
149
+
And the JSON node "paths./related_dummies/{id}/related_to_dummy_friends.get.parameters[6].name" should be equal to "description"
150
+
And the JSON node "paths./related_dummies/{id}/related_to_dummy_friends.get.parameters[6].in" should be equal to "query"
151
+
And the JSON node "paths./related_dummies/{id}/related_to_dummy_friends.get.parameters[6].required" should be false
152
152
153
-
And the JSON node "paths./related_dummies/{id}/related_to_dummy_friends.get.parameters" should have 6 elements
153
+
And the JSON node "paths./related_dummies/{id}/related_to_dummy_friends.get.parameters" should have 7 elements
154
154
155
155
# Subcollection - check schema
156
156
And the JSON node "paths./related_dummies/{id}/related_to_dummy_friends.get.responses.200.content.application/ld+json.schema.properties.hydra:member.items.$ref" should be equal to "#/components/schemas/RelatedToDummyFriend.jsonld-fakemanytomany"
0 commit comments