Update comment on Response DSL
@@ -120,17 +120,21 @@ import (
// Payload(CreatePayload)
// Result(CreateResult)
// Error("an_error")
-// HTTP(func() {
-// Response(StatusCreated) // Uses HTTP status code 201 Created and
-// // CreateResult type to describe body
//
+// HTTP(func() {
// Response(func() {
// Description("Response used when item already exists")
// Code(StatusNoContent) // HTTP status code set using Code
// Body(Empty) // Override method result type
// })
//
+// Response(StatusCreated, func () { // Uses HTTP status code 201 Created and
+// Tag("outcome", "created") // CreateResult type to describe body
+// })
+//
// Response(StatusAccepted, func() {
+// Tag("outcome", "accepted") // Tag identifies result struct field and field
+// // value used to identify how to encode response.
// Description("Response used for async creations")
// Body(func() {
// Attribute("taskHref", String, "API href to async task")
