Skip to content

Commit

Permalink
Merge pull request #157 from netbox-community/feature/openapi-generator
Browse files Browse the repository at this point in the history
[WIP] Replace "go-swagger" by "openapi-generator"
  • Loading branch information
v0ctor authored Jan 18, 2024
2 parents fa82f18 + fb2e7ba commit 239313c
Show file tree
Hide file tree
Showing 3,827 changed files with 1,008,475 additions and 769,247 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
19 changes: 5 additions & 14 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,33 +13,24 @@ jobs:
strategy:
fail-fast: false
matrix:
go: ["1.20", "1.19"]
go: ["1.21", "1.20"]
steps:
- name: Checkout
uses: actions/checkout@v3.3.0

- name: License check
run: ./scripts/license-check.sh
uses: actions/checkout@v4.1.1

- name: Go installation
uses: actions/setup-go@v3.5.0
uses: actions/setup-go@v5.0.0
with:
go-version: ${{ matrix.go }}

- name: Go dependencies installation
run: go get -d ./...

- name: Golint installation
run: go get -u golang.org/x/lint/golint

- name: Build
run: go build ./...

- name: Lint
run: ./scripts/golint.sh
- name: Test
run: go test ./...

- name: Vet
run: go vet ./...

- name: Test
run: go test -v ./...
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3.3.0
uses: actions/checkout@v4.1.1

- name: Release
uses: softprops/action-gh-release@v0.1.15
Expand Down
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
.DS_Store
.env
.gobincache/
/.env
8 changes: 8 additions & 0 deletions .openapi-generator-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Already part of the project
/.gitignore
/api/openapi.yaml
/README.md

# Unwanted
/.travis.yml
/git_push.sh
Loading

0 comments on commit 239313c

Please sign in to comment.