feat: titles.go added
This commit is contained in:
parent
c2dc762700
commit
d2450ffc89
3 changed files with 130 additions and 0 deletions
|
|
@ -546,6 +546,14 @@ func (response GetTitle204Response) VisitGetTitleResponse(w http.ResponseWriter)
|
|||
return nil
|
||||
}
|
||||
|
||||
type GetTitle400Response struct {
|
||||
}
|
||||
|
||||
func (response GetTitle400Response) VisitGetTitleResponse(w http.ResponseWriter) error {
|
||||
w.WriteHeader(400)
|
||||
return nil
|
||||
}
|
||||
|
||||
type GetTitle500Response struct {
|
||||
}
|
||||
|
||||
|
|
@ -593,6 +601,14 @@ func (response GetUsersUserId200JSONResponse) VisitGetUsersUserIdResponse(w http
|
|||
return json.NewEncoder(w).Encode(response)
|
||||
}
|
||||
|
||||
type GetUsersUserId400Response struct {
|
||||
}
|
||||
|
||||
func (response GetUsersUserId400Response) VisitGetUsersUserIdResponse(w http.ResponseWriter) error {
|
||||
w.WriteHeader(400)
|
||||
return nil
|
||||
}
|
||||
|
||||
type GetUsersUserId404Response struct {
|
||||
}
|
||||
|
||||
|
|
@ -601,6 +617,14 @@ func (response GetUsersUserId404Response) VisitGetUsersUserIdResponse(w http.Res
|
|||
return nil
|
||||
}
|
||||
|
||||
type GetUsersUserId500Response struct {
|
||||
}
|
||||
|
||||
func (response GetUsersUserId500Response) VisitGetUsersUserIdResponse(w http.ResponseWriter) error {
|
||||
w.WriteHeader(500)
|
||||
return nil
|
||||
}
|
||||
|
||||
// StrictServerInterface represents all server handlers.
|
||||
type StrictServerInterface interface {
|
||||
// Get titles
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue