mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-10 04:20:24 +00:00
first level testing for rending v3 model in place.
Now onto some hardening tests, lets re-render each spec after reading to check for failures.
This commit is contained in:
@@ -76,9 +76,6 @@ func (i *Info) Render() ([]byte, error) {
|
||||
|
||||
// MarshalYAML will create a ready to render YAML representation of the Info object.
|
||||
func (i *Info) MarshalYAML() (interface{}, error) {
|
||||
if i == nil {
|
||||
return nil, nil
|
||||
}
|
||||
nb := high.NewNodeBuilder(i, i.low)
|
||||
return nb.Render(), nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user