We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d267e57 commit b4a2cfdCopy full SHA for b4a2cfd
features/swagger/docs.feature
@@ -103,3 +103,10 @@ Feature: Documentation support
103
And I should see text matching "My Dummy API"
104
And I should see text matching "swagger"
105
And I should see text matching "2.0"
106
+
107
+ Scenario: Retrieve the Swagger/OpenAPI documentation with API Gateway compatibility
108
+ Given I send a "GET" request to "/docs.json?api_gateway=true"
109
+ Then the response status code should be 200
110
+ And the response should be in JSON
111
+ And the header "Content-Type" should be equal to "application/json; charset=utf-8"
112
+ And the JSON node "basePath" should be equal to "/"
0 commit comments