Codebase list golang-github-go-openapi-swag / 2bdcba6d-e833-49da-b361-ba91758cacb3/v0.22.2
also support timestamp values Ivan Porto Carrero 1 year, 8 months ago
1 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
141141 return nil, fmt.Errorf("unable to process scalar node. Got %q. Expecting float content: %w", node.Value, err)
142142 }
143143 return f, nil
144 case "yaml.org,2002:timestamp":
145 return node.Value, nil
144146 case "tag:yaml.org,2002:null":
145147 return nil, nil
146148 default: