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
Some URL with names that contains the character '-' were not captured by
the regex.
Example name /simple-test(:format)
Adriano Dadario
Vagas Tecnologia
context"retrieves the documentation for mounted-api that"do
106
+
it"contains '-' in URL"do
107
+
get'/swagger_doc/simple-test.json'
108
+
JSON.parse(last_response.body).should == {
109
+
"apiVersion"=>"0.1",
110
+
"swaggerVersion"=>"1.1",
111
+
"basePath"=>"http://example.org",
112
+
"resourcePath"=>"",
113
+
"apis"=>[
114
+
{
115
+
"path"=>"/simple-test.{format}",
116
+
"operations"=>[
117
+
{"notes"=>"_test_","summary"=>"This gets something for URL using - separator.","nickname"=>"GET-simple-test---format-","httpMethod"=>"GET","parameters"=>[]}
0 commit comments