gen/goav2gen/api.go
func NewAPIAnalyzer(version, clientName string, doc *Doc, attrOverrides, typeOverrides map[string]string) *APIAnalyzer {
	return &APIAnalyzer{
		Doc:           doc,
		Version:       version,
		ClientName:    clientName,
		AttrOverrides: attrOverrides,
		TypeOverrides: typeOverrides,

		refByType: map[string]string{},
	}
}
func NewAPIAnalyzer(version, clientName string, doc *Doc, attrOverrides, typeOverrides map[string]string) *APIAnalyzer {
	return &APIAnalyzer{
		Doc:           doc,
		Version:       version,
		ClientName:    clientName,
		AttrOverrides: attrOverrides,
		TypeOverrides: typeOverrides,

		refByType: map[string]string{},
	}
}
// NewAPIAnalyzer is the factory method for APIAnalyzer.