square / fdoc

Documentation format and verification
Other
379 stars 59 forks source link

--url-base-path option passed to fdoc convert is ignored from convertes #52

Open knightq opened 11 years ago

knightq commented 11 years ago

This seems due to the fact that on service.rb, the method used by view is done this way:

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

and @schema['basePath'] does not get overridden by option passed to fdoc convert Cli command.

knightq commented 10 years ago

Any news?