fix
This commit is contained in:
parent
abf09e5f5e
commit
df45a327e6
5 changed files with 60 additions and 35 deletions
|
|
@ -44,8 +44,8 @@ type ReleaseSeason string
|
|||
// Studio defines model for Studio.
|
||||
type Studio struct {
|
||||
Description *string `json:"description,omitempty"`
|
||||
Id *int64 `json:"id,omitempty"`
|
||||
Name *string `json:"name,omitempty"`
|
||||
Id int64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Poster *Image `json:"poster,omitempty"`
|
||||
}
|
||||
|
||||
|
|
@ -639,6 +639,14 @@ func (response GetTitleTitleId200JSONResponse) VisitGetTitleTitleIdResponse(w ht
|
|||
return json.NewEncoder(w).Encode(response)
|
||||
}
|
||||
|
||||
type GetTitleTitleId204Response struct {
|
||||
}
|
||||
|
||||
func (response GetTitleTitleId204Response) VisitGetTitleTitleIdResponse(w http.ResponseWriter) error {
|
||||
w.WriteHeader(204)
|
||||
return nil
|
||||
}
|
||||
|
||||
type GetTitleTitleId400Response struct {
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue