Skip to content

Commit

Permalink
Renamed IsJsonOnly method (#523)
Browse files Browse the repository at this point in the history
## Changes
Renamed IsJsonOnly method

## Tests
<!-- 
How is this tested? Please see the checklist below and also describe any
other relevant tests
-->

- [x] `make test` passing
- [x] `make fmt` applied
- [ ] ~relevant integration tests applied~
  • Loading branch information
andrewnester authored Jun 20, 2023
1 parent 2ef2407 commit 94ddee7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openapi/code/method.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func (m *Method) IsCrudCreate() bool {
return m.operation.Crud == "create"
}

func (m *Method) JsonOnly() bool {
func (m *Method) IsJsonOnly() bool {
return m.operation.JsonOnly
}

Expand Down

0 comments on commit 94ddee7

Please sign in to comment.