You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sending responses in Echo is 1 method call on context ala c.JSON(http.StatusOK, data). If you create utility method for sending yaml response it will be same.
I used echo as an API gateway in front of some kubernetes resources, being able to return responses rendered as Yaml would have been handy.
Kubernetes API machinery produces Yaml off of the Json tags. Could we do something like that here ? The API wouldn't have to change.
Supporting it similarly on the request side (
Bind
) would also be great but perhaps for another issue.This issue is related.
The text was updated successfully, but these errors were encountered: