Skip to content

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

Description

@knightq

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions