-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Update from Netbox 3.1 swagger
- Loading branch information
Showing
6 changed files
with
108 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,9 +14,7 @@ jobs: | |
uses: Namchee/[email protected] | ||
with: | ||
access_token: ${{ secrets.github_token }} | ||
label: "no-conventional-commits" | ||
close: false | ||
template: "Thank you for your contribution attempt in this repository!\n\nUnfortunately, this pull request doesn't meet our standards by reason we stated below.\nFor future pull requests, please use conventional commits.\nPlease update the commits in this PR with conventional commits rules." | ||
strict: false | ||
report: false | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -95,6 +95,8 @@ func main() { | |
### Installing the go-netbox | ||
|
||
```sh | ||
$ # Install jsonlint | ||
$ apt-get install python3-demjson | ||
$ mkdir -p ~/go/src/github.com/smutel | ||
$ cd ~/go/src/github.com/smutel | ||
$ git clone [email protected]:smutel/go-netbox.git | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
--- swagger-v3.1.11.json.ori 2022-05-16 14:48:51.588387301 +0200 | ||
+++ swagger-v3.1.11.json 2022-05-16 14:53:12.116003672 +0200 | ||
@@ -2369,7 +2369,7 @@ | ||
}, | ||
"local_context_data" : { | ||
"title" : "Local context data", | ||
- "type" : "string", | ||
+ "type" : "object", | ||
"x-nullable" : true | ||
}, | ||
"location" : { "$ref" : "#/definitions/NestedLocation" }, | ||
@@ -2888,10 +2888,6 @@ | ||
"type" : "string" | ||
}, | ||
"config_context" : { | ||
- "additionalProperties" : { | ||
- "type" : "string", | ||
- "x-nullable" : true | ||
- }, | ||
"readOnly" : true, | ||
"title" : "Config context", | ||
"type" : "object" | ||
@@ -2951,7 +2947,7 @@ | ||
}, | ||
"local_context_data" : { | ||
"title" : "Local context data", | ||
- "type" : "string", | ||
+ "type" : "object", | ||
"x-nullable" : true | ||
}, | ||
"location" : { "$ref" : "#/definitions/NestedLocation" }, | ||
@@ -11401,10 +11397,6 @@ | ||
"type" : "string" | ||
}, | ||
"config_context" : { | ||
- "additionalProperties" : { | ||
- "type" : "string", | ||
- "x-nullable" : true | ||
- }, | ||
"readOnly" : true, | ||
"title" : "Config context", | ||
"type" : "object" | ||
@@ -11445,7 +11437,7 @@ | ||
}, | ||
"local_context_data" : { | ||
"title" : "Local context data", | ||
- "type" : "string", | ||
+ "type" : "object", | ||
"x-nullable" : true | ||
}, | ||
"memory" : { | ||
@@ -14251,10 +14243,6 @@ | ||
"type" : "string" | ||
}, | ||
"config_context" : { | ||
- "additionalProperties" : { | ||
- "type" : "string", | ||
- "x-nullable" : true | ||
- }, | ||
"readOnly" : true, | ||
"title" : "Config context", | ||
"type" : "object" | ||
@@ -14304,7 +14292,7 @@ | ||
}, | ||
"local_context_data" : { | ||
"title" : "Local context data", | ||
- "type" : "string", | ||
+ "type" : "object", | ||
"x-nullable" : true | ||
}, | ||
"location" : { | ||
@@ -18739,10 +18727,6 @@ | ||
"type" : "string" | ||
}, | ||
"config_context" : { | ||
- "additionalProperties" : { | ||
- "type" : "string", | ||
- "x-nullable" : true | ||
- }, | ||
"readOnly" : true, | ||
"title" : "Config context", | ||
"type" : "object" | ||
@@ -18783,7 +18767,7 @@ | ||
}, | ||
"local_context_data" : { | ||
"title" : "Local context data", | ||
- "type" : "string", | ||
+ "type" : "object", | ||
"x-nullable" : true | ||
}, | ||
"memory" : { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- swagger-v3.1.11.json.ori 2022-05-16 14:48:51.588387301 +0200 | ||
+++ swagger-v3.1.11.json 2022-05-16 15:04:26.365989795 +0200 | ||
@@ -4986,10 +4986,6 @@ | ||
"type" : "string" | ||
}, | ||
"assigned_object" : { | ||
- "additionalProperties" : { | ||
- "type" : "string", | ||
- "x-nullable" : true | ||
- }, | ||
"readOnly" : true, | ||
"title" : "Assigned object", | ||
"type" : "object" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v3.0 | ||
v3.1 |