Skip to content

Commit

Permalink
Merge pull request #4 from sherweb/fix/bad-generator
Browse files Browse the repository at this point in the history
Fix/bad generator
  • Loading branch information
nutgood authored Oct 1, 2024
2 parents 842843d + df49773 commit 307d607
Show file tree
Hide file tree
Showing 1,089 changed files with 248,215 additions and 35,780 deletions.
2 changes: 0 additions & 2 deletions .env.example

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.DS_Store
/.env
experiment
1 change: 0 additions & 1 deletion .openapi-generator/VERSION

This file was deleted.

18 changes: 11 additions & 7 deletions .openapi-generator/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,17 @@ gitRepoId: go-netbox/v4

packageName: netbox

globalProperty:
apiDocs: false
modelDocs: false
apiTests: false
modelTests: false
globalProperties:
apiDocs: "false"
modelDocs: "false"
apiTests: "false"
modelTests: "false"

additionalProperties:
disallowAdditionalPropertiesIfNotPresent: "false"
packageVersion: "3"
enumClassPrefix: true
generateInterfaces: "true"
isGoSubmodule: "true"
packageName: "netbox"
packageVersion: "4"
useDefaultValuesForRequiredVars: "true"
enumClassPrefix: "true"
5 changes: 0 additions & 5 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146568,7 +146568,6 @@ components:
format: int64
readOnly: true
required:
- cluster_count
- display
- id
- name
Expand Down Expand Up @@ -146635,7 +146634,6 @@ components:
format: int64
readOnly: true
required:
- cluster_count
- display
- id
- name
Expand Down Expand Up @@ -150671,7 +150669,6 @@ components:
format: int64
readOnly: true
required:
- cluster_count
- created
- display
- id
Expand Down Expand Up @@ -150810,7 +150807,6 @@ components:
format: int64
readOnly: true
required:
- cluster_count
- created
- display
- id
Expand Down Expand Up @@ -185537,7 +185533,6 @@ components:
readOnly: true
required:
- circuit_count
- cluster_count
- created
- display
- id
Expand Down
5 changes: 1 addition & 4 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
module github.com/sherweb/go-netbox/v4

go 1.18

require (
)
go 1.22.5
11 changes: 0 additions & 11 deletions go.sum

This file was deleted.

23 changes: 0 additions & 23 deletions main.go

This file was deleted.

24 changes: 24 additions & 0 deletions netbox/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Compiled Object files, Static and Dynamic libs (Shared Objects)
*.o
*.a
*.so

# Folders
_obj
_test

# Architecture specific extensions/prefixes
*.[568vq]
[568vq].out

*.cgo1.go
*.cgo2.c
_cgo_defun.c
_cgo_gotypes.go
_cgo_export.*

_testmain.go

*.exe
*.test
*.prof
23 changes: 23 additions & 0 deletions netbox/.openapi-generator-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# OpenAPI Generator Ignore
# Generated by openapi-generator https://github.com/openapitools/openapi-generator

# Use this file to prevent files from being overwritten by the generator.
# The patterns follow closely to .gitignore or .dockerignore.

# As an example, the C# client generator defines ApiClient.cs.
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
#ApiClient.cs

# You can match any string of characters against a directory, file or extension with a single asterisk (*):
#foo/*/qux
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux

# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
#foo/**/qux
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux

# You can also negate patterns with an exclamation (!).
# For example, you can ignore all files in a docs folder with the file extension .md:
#docs/*.md
# Then explicitly reverse the ignore rule for a single file:
#!docs/README.md
Loading

0 comments on commit 307d607

Please sign in to comment.