MCPcopy Index your code
hub / github.com/APIParkLab/APIPark / Marshal

Method Marshal

service/api-doc/service.go:128–134  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

126}
127
128func (d *DocLoader) Marshal() ([]byte, error) {
129 result, err := d.openAPI3Doc.MarshalYAML()
130 if err != nil {
131 return nil, err
132 }
133 return yaml.Marshal(result)
134}

Callers 15

UpdateDocMethod · 0.95
MaskConfigMethod · 0.80
GenConfigMethod · 0.80
generateStructFunction · 0.80
ValidMethod · 0.80
DetailMethod · 0.80
ValidMethod · 0.80
ValidMethod · 0.80
ValidMethod · 0.80
ValidMethod · 0.80
MarshalJSONMethod · 0.80
CreateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected