code: func New() *Parser {
  	parser := &Parser{
  		swagger: &spec.Swagger{
  			SwaggerProps: spec.SwaggerProps{
  				Info: &spec.Info{
  					InfoProps: spec.InfoProps{
  						Contact: &spec.ContactInfo{},
  						License: &spec.License{},
  					},
  				},
  				Paths: &spec.Paths{
  					Paths: make(map[string]spec.PathItem),
  				},
  				Definitions: make(map[string]spec.Schema),
  			},
  		},
  		files:                make(map[string]*ast.File),
  		TypeDefinitions:      make(map[string]map[string]*ast.TypeSpec),
  		CustomPrimitiveTypes: make(map[string]string),
  		registerTypes:        make(map[string]*ast.TypeSpec),
  	}
  	return parser
  }
docs: // New creates a new Parser with default properties.