Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre-Emmanuel Jacquier <15922119+pierre-emmanuelJ@users.noreply.github.com>
  • Loading branch information
pierre-emmanuelJ committed Feb 15, 2024
1 parent 66a2e25 commit 2a398d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions v3/generator/operations/operations.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func renderResponseSchema(name string, op *v3.Operation) ([]byte, error) {
return nil
}

gettable, err := renderFindable(name, media.Schema)
findable, err := renderFindable(name, media.Schema)
if err != nil {
return err
}
Expand All @@ -134,8 +134,8 @@ func renderResponseSchema(name string, op *v3.Operation) ([]byte, error) {
return err
}
output.Write(schemaResp)
if gettable != nil {
output.Write(gettable)
if findable != nil {
output.Write(findable)
}

return nil
Expand Down

0 comments on commit 2a398d5

Please # to comment.