code: func (s *SecuritySchemeDefinition) Finalize() {
  	tu, _ := url.Parse(s.TokenURL)         // validated in Validate
  	au, _ := url.Parse(s.AuthorizationURL) // validated in Validate
  	tokenOK := s.TokenURL == "" || tu.IsAbs()
  	authOK := s.AuthorizationURL == "" || au.IsAbs()
  	if tokenOK && authOK {
  		return
  	}
  	var scheme string
  	if len(Design.Schemes) > 0 {
  		scheme = Design.Schemes[0]
  	}
  	if !tokenOK {
  		tu.Scheme = scheme
  		tu.Host = Design.Host
  		s.TokenURL = tu.String()
  	}
  	if !authOK {
  		au.Scheme = scheme
  		au.Host = Design.Host
  		s.AuthorizationURL = au.String()
  	}
  }
docs: // Finalize makes the TokenURL and AuthorizationURL complete if needed.