Method: Fdoc::Service#base_path

Defined in:
lib/fdoc/service.rb

#base_pathObject



83
84
85
86
87
88
89
90
# File 'lib/fdoc/service.rb', line 83

def base_path
  base_path = @schema['basePath']
  if base_path && !base_path.end_with?('/')
    base_path + '/'
  else
    base_path
  end
end