This repository has been archived by the owner on Mar 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
104,480 additions
and
1 deletion.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
vmware_rest_code_generator/api_specifications/7.0.3_openapi3/api.json
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,12 @@ | ||
{ | ||
"files": [ | ||
"stats", | ||
"contentinternal", | ||
"esx", | ||
"content", | ||
"vcenter", | ||
"appliance", | ||
"vapi", | ||
"cis" | ||
] | ||
} |
15,098 changes: 15,098 additions & 0 deletions
15,098
vmware_rest_code_generator/api_specifications/7.0.3_openapi3/appliance.json
Large diffs are not rendered by default.
Oops, something went wrong.
3,555 changes: 3,555 additions & 0 deletions
3,555
vmware_rest_code_generator/api_specifications/7.0.3_openapi3/cis.json
Large diffs are not rendered by default.
Oops, something went wrong.
6,535 changes: 6,535 additions & 0 deletions
6,535
vmware_rest_code_generator/api_specifications/7.0.3_openapi3/content.json
Large diffs are not rendered by default.
Oops, something went wrong.
5,343 changes: 5,343 additions & 0 deletions
5,343
vmware_rest_code_generator/api_specifications/7.0.3_openapi3/contentinternal.json
Large diffs are not rendered by default.
Oops, something went wrong.
13,383 changes: 13,383 additions & 0 deletions
13,383
vmware_rest_code_generator/api_specifications/7.0.3_openapi3/esx.json
Large diffs are not rendered by default.
Oops, something went wrong.
2,518 changes: 2,518 additions & 0 deletions
2,518
vmware_rest_code_generator/api_specifications/7.0.3_openapi3/stats.json
Large diffs are not rendered by default.
Oops, something went wrong.
4,143 changes: 4,143 additions & 0 deletions
4,143
vmware_rest_code_generator/api_specifications/7.0.3_openapi3/vapi.json
Large diffs are not rendered by default.
Oops, something went wrong.
53,874 changes: 53,874 additions & 0 deletions
53,874
vmware_rest_code_generator/api_specifications/7.0.3_openapi3/vcenter.json
Large diffs are not rendered by default.
Oops, something went wrong.
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,17 @@ | ||
# How to generate the OpenAPI3 description files | ||
|
||
```bash | ||
#!/bin/bash | ||
set -eux | ||
rm -rf ~/tmp/venv-vmware-openapi | ||
python3 -m venv ~/tmp/venv-vmware-openapi | ||
source ~/tmp/venv-vmware-openapi/bin/activate | ||
pip install --upgrade git+https://github.com/vmware/vsphere-automation-sdk-python.git | ||
git clone https://github.com/vmware/vmware-openapi-generator ~/tmp/vmware-openapi-generator | ||
cd ~/tmp/vmware-openapi-generator | ||
wget https://patch-diff.githubusercontent.com/raw/vmware/vmware-openapi-generator/pull/71.patch | ||
git am 71.patch | ||
rm 71.patch | ||
mkdir -p ~/tmp/openapi/results | ||
python vmsgen.py --insecure -vc vcenter.test -o ~/tmp/openapi/results | ||
``` |
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