From 7b93371d149a60e06c8c5e2e62c8946ed7295a52 Mon Sep 17 00:00:00 2001 From: Akiomi KAMAKURA Date: Tue, 28 Feb 2017 10:06:09 +0900 Subject: [PATCH] added EncType and MediaType to Link (#33) --- schema.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/schema.go b/schema.go index f82aca3..48b5d4d 100644 --- a/schema.go +++ b/schema.go @@ -69,4 +69,6 @@ type Link struct { Method string `json:"method,omitempty"` Schema *Schema `json:"schema,omitempty"` TargetSchema *Schema `json:"targetSchema,omitempty"` + MediaType string `json:"mediaType,omitempty"` + EncType string `json:"encType,omitempty"` }