feat: release managed service generation and contract diagnostics
This commit is contained in:
@@ -120,6 +120,9 @@ func prepareMetadata(original *Spec) (*Spec, error) {
|
||||
}
|
||||
|
||||
func decorateDocument(doc map[string]any, spec *Spec) {
|
||||
if spec.DefaultResponse != "" {
|
||||
doc["x-omni-default-response"] = spec.DefaultResponse
|
||||
}
|
||||
if spec.Description != "" {
|
||||
doc["info"].(map[string]any)["description"] = spec.Description
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user