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
+5
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,7 @@ Feature: Documentation support
70
70
And the OpenAPI class "UuidIdentifierDummy" exists
71
71
And the OpenAPI class "ThirdLevel" exists
72
72
And the OpenAPI class "DummyCar" exists
73
+
And the OpenAPI class "DummyWebhook" exists
73
74
And the OpenAPI class "ParentDummy" doesn't exist
74
75
And the OpenAPI class "UnknownDummy" doesn't exist
75
76
And the OpenAPI path "/relation_embedders/{id}/custom" exists
@@ -115,6 +116,10 @@ Feature: Documentation support
115
116
And the JSON node "paths./dummy_cars.get.parameters[8].name" should be equal to "foobar[]"
116
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}"
117
118
119
+
# Webhook
120
+
And the JSON node "webhooks.webhook[0].get.description" should be equal to "Something else here for example"
121
+
And the JSON node "webhooks.webhook[1].post.description" should be equal to "Hi! it's me, I'm the problem, it's me"
122
+
118
123
# Subcollection - check filter on subResource
119
124
And the JSON node "paths./related_dummies/{id}/related_to_dummy_friends.get.parameters[0].name" should be equal to "id"
120
125
And the JSON node "paths./related_dummies/{id}/related_to_dummy_friends.get.parameters[0].in" should be equal to "path"
0 commit comments