Skip to content

Commit 4cb9b26

Browse files
committed
Rename
1 parent 332e403 commit 4cb9b26

19 files changed

Lines changed: 87 additions & 55 deletions

File tree

.build/server/server

-4.78 KB
Binary file not shown.

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: Check generate produces no diff
4444
run: |
4545
go generate ./...
46-
go run github.com/mockzilla/connexions/v2/cmd/gen/discover pkg
46+
go run github.com/mockzilla/mockzilla/v2/cmd/gen/discover pkg
4747
git --no-pager diff --exit-code
4848
4949
- name: Test

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Generate and discover
2424
run: |
2525
go generate ./...
26-
go run github.com/mockzilla/connexions/v2/cmd/gen/discover pkg
26+
go run github.com/mockzilla/mockzilla/v2/cmd/gen/discover pkg
2727
2828
- uses: actions/upload-artifact@v4
2929
with:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.idea
22
*.iml
33
.build
4+
.data

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,17 @@ test:
4040
.PHONY: service-from-static
4141
service-from-static:
4242
@echo "Generating new static service..."
43-
@go run github.com/mockzilla/connexions/v2/cmd/gen/service -type static -name=$(name) -output=pkg/$(name)
43+
@go run github.com/mockzilla/mockzilla/v2/cmd/gen/service -type static -name=$(name) -output=pkg/$(name)
4444

4545
.PHONY: service
4646
service:
4747
@echo "Generating new OpenAPI service..."
48-
@go run github.com/mockzilla/connexions/v2/cmd/gen/service -type openapi -name=$(name) -output=pkg/$(name)
48+
@go run github.com/mockzilla/mockzilla/v2/cmd/gen/service -type openapi -name=$(name) -output=pkg/$(name)
4949

5050
.PHONY: discover
5151
discover:
5252
@echo "Discovering services to generate service imports..."
53-
@go run github.com/mockzilla/connexions/v2/cmd/gen/discover pkg
53+
@go run github.com/mockzilla/mockzilla/v2/cmd/gen/discover pkg
5454

5555
#.PHONY: generate
5656
generate:

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
# Connexions Codegen Template
1+
# Mockzilla Codegen Template
22

3-
Generate a Go mock server from OpenAPI specs with [Connexions](https://github.com/mockzilla/connexions).
3+
Generate a Go mock server from OpenAPI specs with [Mockzilla](https://github.com/mockzilla/mockzilla).
44

55
Each service is a Go package with generated handlers, embedded OpenAPI specs, and optional custom logic.
66
Includes an API Explorer UI at `/api-explorer`.
77

88
## Quick start
99

10-
1. Click [**Use this template**](https://github.com/mockzilla/connexions-codegen-template/generate) to create your own repository
10+
1. Click [**Use this template**](https://github.com/mockzilla/mockzilla-codegen-template/generate) to create your own repository
1111
2. Add services (see below)
1212
3. Regenerate and discover:
1313
```bash
@@ -83,7 +83,7 @@ make build
8383
.build/server/server
8484
```
8585

86-
See the [Connexions docs](https://github.com/mockzilla/connexions) for more options.
86+
See the [Mockzilla docs](https://github.com/mockzilla/mockzilla) for more options.
8787

8888
## Release
8989

cmd/server/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ import (
1818

1919
"github.com/joho/godotenv"
2020
"github.com/lmittmann/tint"
21-
"github.com/mockzilla/connexions/v2/pkg/api"
22-
"github.com/mockzilla/connexions/v2/pkg/loader"
21+
"github.com/mockzilla/mockzilla/v2/pkg/api"
22+
"github.com/mockzilla/mockzilla/v2/pkg/loader"
2323
)
2424

2525
var version = "dev"

cmd/server/services_gen.go

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/mockzilla/connexions-codegen-template
1+
module github.com/mockzilla/mockzilla-codegen-template
22

33
go 1.25.3
44

@@ -8,7 +8,7 @@ require (
88
github.com/go-playground/validator/v10 v10.30.1
99
github.com/joho/godotenv v1.5.1
1010
github.com/lmittmann/tint v1.1.3
11-
github.com/mockzilla/connexions/v2 v2.1.95
11+
github.com/mockzilla/mockzilla/v2 v2.1.99
1212
go.yaml.in/yaml/v4 v4.0.0-rc.4
1313
)
1414

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ github.com/leodido/go-urn v1.4.0 h1:WT9HwE9SGECu3lg4d/dIA+jxlljEa1/ffXKmRjqdmIQ=
4444
github.com/leodido/go-urn v1.4.0/go.mod h1:bvxc+MVxLKB4z00jd1z+Dvzr47oO32F/QSNjSBOlFxI=
4545
github.com/lmittmann/tint v1.1.3 h1:Hv4EaHWXQr+GTFnOU4VKf8UvAtZgn0VuKT+G0wFlO3I=
4646
github.com/lmittmann/tint v1.1.3/go.mod h1:HIS3gSy7qNwGCj+5oRjAutErFBl4BzdQP6cJZ0NfMwE=
47-
github.com/mockzilla/connexions/v2 v2.1.95 h1:vUTrGx9d/l0mnLegJL8cgiKK0ANiTPsUBkNhWPoixkI=
48-
github.com/mockzilla/connexions/v2 v2.1.95/go.mod h1:McaSCpdlWNrSbJceNz/JbTQM7z3R0u2lC+b5WtdocJQ=
47+
github.com/mockzilla/mockzilla/v2 v2.1.99 h1:k5LajdwKtoJ/tx868cqvKfQYpX2JcHpiSIwt63s/1yU=
48+
github.com/mockzilla/mockzilla/v2 v2.1.99/go.mod h1:1XXWGNJ+ZyAMvN2LyhW1nWGePl3XADlYguhpymwEHYU=
4949
github.com/pb33f/jsonpath v0.8.1 h1:84C6QRyx6HcSm6PZnsMpcqYot3IsZ+m0n95+0NbBbvs=
5050
github.com/pb33f/jsonpath v0.8.1/go.mod h1:zBV5LJW4OQOPatmQE2QdKpGQJvhDTlE5IEj6ASaRNTo=
5151
github.com/pb33f/libopenapi v0.34.3 h1:3D1N56ayc7iOeEnKoy85QDe4tFbg5G1sj2J5UISi4Is=

0 commit comments

Comments
 (0)