Skip to content

Commit b6f596a

Browse files
authored
Merge pull request #1 from cockroachdb/scaffolding
WIP: Scaffolding of openapi
2 parents 5b2c649 + d0aef61 commit b6f596a

File tree

105 files changed

+18191
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+18191
-2
lines changed

.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Compiled Object files, Static and Dynamic libs (Shared Objects)
2+
*.o
3+
*.a
4+
*.so
5+
6+
# Folders
7+
_obj
8+
_test
9+
10+
# Architecture specific extensions/prefixes
11+
*.[568vq]
12+
[568vq].out
13+
14+
*.cgo1.go
15+
*.cgo2.c
16+
_cgo_defun.c
17+
_cgo_gotypes.go
18+
_cgo_export.*
19+
20+
_testmain.go
21+
22+
*.exe
23+
*.test
24+
*.prof

.idea/workspace.xml

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

.openapi-generator-ignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# OpenAPI Generator Ignore
2+
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
3+
4+
# Use this file to prevent files from being overwritten by the generator.
5+
# The patterns follow closely to .gitignore or .dockerignore.
6+
7+
# As an example, the C# client generator defines ApiClient.cs.
8+
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
9+
#ApiClient.cs
10+
11+
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
12+
#foo/*/qux
13+
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14+
15+
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16+
#foo/**/qux
17+
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18+
19+
# You can also negate patterns with an exclamation (!).
20+
# For example, you can ignore all files in a docs folder with the file extension .md:
21+
#docs/*.md
22+
# Then explicitly reverse the ignore rule for a single file:
23+
#!docs/README.md

.openapi-generator/FILES

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
.gitignore
2+
.openapi-generator-ignore
3+
.travis.yml
4+
README.md
5+
api/openapi.yaml
6+
api_cockroach_cloud.go
7+
client.go
8+
configuration.go
9+
docs/Any.md
10+
docs/CMEKClusterInfo.md
11+
docs/CMEKClusterSpecification.md
12+
docs/CMEKCustomerAction.md
13+
docs/CMEKKeyInfo.md
14+
docs/CMEKKeySpecification.md
15+
docs/CMEKKeyType.md
16+
docs/CMEKRegionInfo.md
17+
docs/CMEKRegionSpecification.md
18+
docs/CMEKStatus.md
19+
docs/CloudProvider.md
20+
docs/CloudProviderRegion.md
21+
docs/Cluster.md
22+
docs/ClusterConfig.md
23+
docs/ClusterStateType.md
24+
docs/ClusterStatusType.md
25+
docs/CockroachCloudApi.md
26+
docs/CreateClusterRequest.md
27+
docs/CreateClusterSpecification.md
28+
docs/CreateSQLUserRequest.md
29+
docs/DedicatedClusterCreateSpecification.md
30+
docs/DedicatedClusterUpdateSpecification.md
31+
docs/DedicatedHardwareConfig.md
32+
docs/DedicatedHardwareCreateSpecification.md
33+
docs/DedicatedHardwareUpdateSpecification.md
34+
docs/DedicatedMachineTypeSpecification.md
35+
docs/ListAvailableRegionsResponse.md
36+
docs/ListClusterNodesResponse.md
37+
docs/ListClustersResponse.md
38+
docs/ListSQLUsersResponse.md
39+
docs/Node.md
40+
docs/NodeStatus.md
41+
docs/PaginationRequest.md
42+
docs/PaginationResponse.md
43+
docs/Plan.md
44+
docs/Region.md
45+
docs/SQLUser.md
46+
docs/ServerlessClusterConfig.md
47+
docs/ServerlessClusterSpecification.md
48+
docs/SetNodeCountRequest.md
49+
docs/SortOrder.md
50+
docs/Status.md
51+
docs/UpdateCMEKStatusRequest.md
52+
docs/UpdateClusterSpecification.md
53+
docs/UpdateSQLUserPasswordRequest.md
54+
git_push.sh
55+
go.mod
56+
go.sum
57+
model_any.go
58+
model_cloud_provider.go
59+
model_cloud_provider_region.go
60+
model_cluster.go
61+
model_cluster_config.go
62+
model_cluster_state_type.go
63+
model_cluster_status_type.go
64+
model_cmek_cluster_info.go
65+
model_cmek_cluster_specification.go
66+
model_cmek_customer_action.go
67+
model_cmek_key_info.go
68+
model_cmek_key_specification.go
69+
model_cmek_key_type.go
70+
model_cmek_region_info.go
71+
model_cmek_region_specification.go
72+
model_cmek_status.go
73+
model_create_cluster_request.go
74+
model_create_cluster_specification.go
75+
model_create_sql_user_request.go
76+
model_dedicated_cluster_create_specification.go
77+
model_dedicated_cluster_update_specification.go
78+
model_dedicated_hardware_config.go
79+
model_dedicated_hardware_create_specification.go
80+
model_dedicated_hardware_update_specification.go
81+
model_dedicated_machine_type_specification.go
82+
model_list_available_regions_response.go
83+
model_list_cluster_nodes_response.go
84+
model_list_clusters_response.go
85+
model_list_sql_users_response.go
86+
model_node.go
87+
model_node_status.go
88+
model_pagination_request.go
89+
model_pagination_response.go
90+
model_plan.go
91+
model_region.go
92+
model_serverless_cluster_config.go
93+
model_serverless_cluster_specification.go
94+
model_set_node_count_request.go
95+
model_sort_order.go
96+
model_sql_user.go
97+
model_status.go
98+
model_update_cluster_specification.go
99+
model_update_cmek_status_request.go
100+
model_update_sql_user_password_request.go
101+
response.go
102+
utils.go

.openapi-generator/VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
5.4.0

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
language: go
2+
3+
install:
4+
- go get -d -v .
5+
6+
script:
7+
- go build -v ./
8+

0 commit comments

Comments
 (0)