Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,14 @@ go tool mockzilla-codegen generate openapi.yaml -server chi # and a chi server
go tool mockzilla-codegen generate -c codegen.yaml # what the config lists
```

Already using [mockzilla](https://github.com/mockzilla/mockzilla) 2.11 or newer? It has this
generator built in as `mockzilla generate`, with the same flags and config:

```sh
mockzilla generate openapi.yaml -server chi
go mod tidy
```

## Example

This spec:
Expand Down
Loading