code: func (operation *Operation) ParseSecurityComment(commentLine string) error {
  	securitySource := commentLine[strings.Index(commentLine, "@Security")+1:]
  	l := strings.Index(securitySource, "[")
  	r := strings.Index(securitySource, "]")
  	// exists scope
  	if !(l == -1 && r == -1) {
  		scopes := securitySource[l+1 : r]
  		s := []string{}
  		for _, scope := range strings.Split(scopes, ",") {
  			scope = strings.TrimSpace(scope)
  			s = append(s, scope)
  		}
  		securityKey := securitySource[0:l]
  		securityMap := map[string][]string{}
  		securityMap[securityKey] = append(securityMap[securityKey], s...)
  		operation.Security = append(operation.Security, securityMap)
  	} else {
  		securityKey := strings.TrimSpace(securitySource)
  		securityMap := map[string][]string{}
  		securityMap[securityKey] = []string{}
  		operation.Security = append(operation.Security, securityMap)
  	}
  	return nil
  }
docs: // ParseSecurityComment parses comment for gived `security` comment string.