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 262cdb9 commit a4189c5Copy full SHA for a4189c5
lib/grape-swagger/rake/oapi_tasks.rb
@@ -95,7 +95,7 @@ def make_request(url)
95
def urls_for(api_class)
96
api_class.routes
97
.map(&:path)
98
- .select { |e| e.include?('doc') }
+ .grep(/#{GrapeSwagger::DocMethods.class_variable_get(:@@mount_path)}/)
99
.reject { |e| e.include?(':name') }
100
.map { |e| format_path(e) }
101
.map { |e| [e, ENV.fetch('resource', nil)].join('/').chomp('/') }
0 commit comments