mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-09 12:37:49 +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:
@@ -56,9 +56,6 @@ func (e *ExternalDoc) Render() ([]byte, error) {
|
||||
|
||||
// MarshalYAML will create a ready to render YAML representation of the ExternalDoc object.
|
||||
func (e *ExternalDoc) MarshalYAML() (interface{}, error) {
|
||||
if e == nil {
|
||||
return nil, nil
|
||||
}
|
||||
nb := high.NewNodeBuilder(e, e.low)
|
||||
return nb.Render(), nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user