ResultTypeRef produces the JSON reference to the media type definition with the given view.
(api *expr.APIExpr, mt *expr.ResultTypeExpr, view string)
| 226 | // ResultTypeRef produces the JSON reference to the media type definition with |
| 227 | // the given view. |
| 228 | func ResultTypeRef(api *expr.APIExpr, mt *expr.ResultTypeExpr, view string) string { |
| 229 | return ResultTypeRefWithPrefix(api, mt, view, "") |
| 230 | } |
| 231 | |
| 232 | // ResultTypeRefWithPrefix produces the JSON reference to the media type definition with |
| 233 | // the given view and adds the provided prefix to the type name |
nothing calls this directly
no test coverage detected