Skip to content

Commit

Permalink
Merge pull request #26 from p-fruck/migrate-to-openapi-generator
Browse files Browse the repository at this point in the history
[BREAKING] Migrate to openapi generator
  • Loading branch information
p-fruck authored Feb 21, 2022
2 parents 5e2de8e + ef9b1df commit bf8406a
Show file tree
Hide file tree
Showing 900 changed files with 61,319 additions and 52,528 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ coverage.xml
*,cover
.hypothesis/
venv/
.venv/
.python-version
.pytest_cache

# Translations
*.mo
Expand Down
24 changes: 24 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# ref: https://docs.gitlab.com/ee/ci/README.html

stages:
- test

.tests:
stage: test
script:
- pip install -r requirements.txt
- pip install -r test-requirements.txt
- pytest --cov=pfruck_contabo

test-3.6:
extends: .tests
image: python:3.6-alpine
test-3.7:
extends: .tests
image: python:3.7-alpine
test-3.8:
extends: .tests
image: python:3.8-alpine
test-3.9:
extends: .tests
image: python:3.9-alpine
File renamed without changes.
340 changes: 340 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -0,0 +1,340 @@
.gitignore
.gitlab-ci.yml
.travis.yml
README.md
docs/AddOnResponse.md
docs/ApiPermissionsResponse.md
docs/AssignmentAuditResponse.md
docs/AssignmentResponse.md
docs/AutoScalingTypeRequest.md
docs/AutoScalingTypeResponse.md
docs/CancelInstanceResponse.md
docs/CancelInstanceResponseData.md
docs/CancelObjectStorageResponse.md
docs/CancelObjectStorageResponseData.md
docs/ClientResponse.md
docs/ClientSecretResponse.md
docs/CreateAssignmentResponse.md
docs/CreateCustomImageFailResponse.md
docs/CreateCustomImageRequest.md
docs/CreateCustomImageResponse.md
docs/CreateCustomImageResponseData.md
docs/CreateInstanceRequest.md
docs/CreateInstanceResponse.md
docs/CreateInstanceResponseData.md
docs/CreateObjectStorageRequest.md
docs/CreateObjectStorageResponse.md
docs/CreateObjectStorageResponseData.md
docs/CreateRoleRequest.md
docs/CreateRoleResponse.md
docs/CreateRoleResponseData.md
docs/CreateSecretRequest.md
docs/CreateSecretResponse.md
docs/CreateSnapshotRequest.md
docs/CreateSnapshotResponse.md
docs/CreateSnapshotResponseData.md
docs/CreateTagRequest.md
docs/CreateTagResponse.md
docs/CreateTagResponseData.md
docs/CreateTicketRequest.md
docs/CreateTicketResponse.md
docs/CreateTicketResponseData.md
docs/CreateUserRequest.md
docs/CreateUserResponse.md
docs/CreateUserResponseData.md
docs/CredentialData.md
docs/CredentialResponse.md
docs/CustomImagesStatsResponse.md
docs/CustomImagesStatsResponseData.md
docs/DataCenterResponse.md
docs/FindAssignmentResponse.md
docs/FindClientResponse.md
docs/FindImageResponse.md
docs/FindInstanceResponse.md
docs/FindObjectStorageResponse.md
docs/FindRoleResponse.md
docs/FindSecretResponse.md
docs/FindSnapshotResponse.md
docs/FindTagResponse.md
docs/FindUserIsPasswordSetResponse.md
docs/FindUserResponse.md
docs/GenerateClientSecretResponse.md
docs/ImageAuditResponse.md
docs/ImageAuditResponseData.md
docs/ImageResponse.md
docs/ImagesApi.md
docs/ImagesAuditsApi.md
docs/InstanceActionsApi.md
docs/InstanceActionsAuditsApi.md
docs/InstanceResponse.md
docs/InstanceRestartActionResponse.md
docs/InstanceRestartActionResponseData.md
docs/InstanceStartActionResponse.md
docs/InstanceStartActionResponseData.md
docs/InstanceStatus.md
docs/InstanceStopActionResponse.md
docs/InstanceStopActionResponseData.md
docs/InstancesActionsAuditResponse.md
docs/InstancesApi.md
docs/InstancesAuditResponse.md
docs/InstancesAuditsApi.md
docs/InternalApi.md
docs/IpConfig.md
docs/IpV4.md
docs/IpV6.md
docs/Links.md
docs/ListApiPermissionResponse.md
docs/ListAssignmentAuditsResponse.md
docs/ListAssignmentResponse.md
docs/ListDataCenterResponse.md
docs/ListImageResponse.md
docs/ListImageResponseData.md
docs/ListInstancesActionsAuditResponse.md
docs/ListInstancesAuditResponse.md
docs/ListInstancesResponse.md
docs/ListInstancesResponseData.md
docs/ListObjectStorageAuditResponse.md
docs/ListObjectStorageResponse.md
docs/ListRoleAuditResponse.md
docs/ListRoleResponse.md
docs/ListSecretAuditResponse.md
docs/ListSecretResponse.md
docs/ListSnapshotResponse.md
docs/ListSnapshotsAuditResponse.md
docs/ListTagAuditsResponse.md
docs/ListTagResponse.md
docs/ListUserAuditResponse.md
docs/ListUserResponse.md
docs/ObjectStorageAuditResponse.md
docs/ObjectStorageResponse.md
docs/ObjectStoragesApi.md
docs/ObjectStoragesAuditsApi.md
docs/ObjectStoragesStatsResponse.md
docs/ObjectStoragesStatsResponseData.md
docs/PaginationMeta.md
docs/PermissionRequest.md
docs/PermissionResponse.md
docs/ReinstallInstanceRequest.md
docs/ReinstallInstanceResponse.md
docs/ReinstallInstanceResponseData.md
docs/ResourcePermissionsResponse.md
docs/RoleAuditResponse.md
docs/RoleResponse.md
docs/RolesApi.md
docs/RolesAuditsApi.md
docs/RollbackSnapshotResponse.md
docs/SecretAuditResponse.md
docs/SecretResponse.md
docs/SecretsApi.md
docs/SecretsAuditsApi.md
docs/SelfLinks.md
docs/SnapshotResponse.md
docs/SnapshotsApi.md
docs/SnapshotsAuditResponse.md
docs/SnapshotsAuditsApi.md
docs/TagAssignmentSelfLinks.md
docs/TagAssignmentsApi.md
docs/TagAssignmentsAuditsApi.md
docs/TagAuditResponse.md
docs/TagResponse.md
docs/TagResponse1.md
docs/TagsApi.md
docs/TagsAuditsApi.md
docs/UpdateCustomImageRequest.md
docs/UpdateCustomImageResponse.md
docs/UpdateCustomImageResponseData.md
docs/UpdateObjectStorageResponse.md
docs/UpdateObjectStorageResponseData.md
docs/UpdateRoleRequest.md
docs/UpdateRoleResponse.md
docs/UpdateSecretRequest.md
docs/UpdateSecretResponse.md
docs/UpdateSnapshotRequest.md
docs/UpdateSnapshotResponse.md
docs/UpdateTagRequest.md
docs/UpdateTagResponse.md
docs/UpdateUserRequest.md
docs/UpdateUserResponse.md
docs/UpgradeAutoScalingType.md
docs/UpgradeObjectStorageRequest.md
docs/UserAuditResponse.md
docs/UserIsPasswordSetResponse.md
docs/UserResponse.md
docs/UsersApi.md
docs/UsersAuditsApi.md
pfruck_contabo/__init__.py
pfruck_contabo/api/__init__.py
pfruck_contabo/api/images_api.py
pfruck_contabo/api/images_audits_api.py
pfruck_contabo/api/instance_actions_api.py
pfruck_contabo/api/instance_actions_audits_api.py
pfruck_contabo/api/instances_api.py
pfruck_contabo/api/instances_audits_api.py
pfruck_contabo/api/internal_api.py
pfruck_contabo/api/object_storages_api.py
pfruck_contabo/api/object_storages_audits_api.py
pfruck_contabo/api/roles_api.py
pfruck_contabo/api/roles_audits_api.py
pfruck_contabo/api/secrets_api.py
pfruck_contabo/api/secrets_audits_api.py
pfruck_contabo/api/snapshots_api.py
pfruck_contabo/api/snapshots_audits_api.py
pfruck_contabo/api/tag_assignments_api.py
pfruck_contabo/api/tag_assignments_audits_api.py
pfruck_contabo/api/tags_api.py
pfruck_contabo/api/tags_audits_api.py
pfruck_contabo/api/users_api.py
pfruck_contabo/api/users_audits_api.py
pfruck_contabo/api_client.py
pfruck_contabo/apis/__init__.py
pfruck_contabo/configuration.py
pfruck_contabo/exceptions.py
pfruck_contabo/model/__init__.py
pfruck_contabo/model/add_on_response.py
pfruck_contabo/model/api_permissions_response.py
pfruck_contabo/model/assignment_audit_response.py
pfruck_contabo/model/assignment_response.py
pfruck_contabo/model/auto_scaling_type_request.py
pfruck_contabo/model/auto_scaling_type_response.py
pfruck_contabo/model/cancel_instance_response.py
pfruck_contabo/model/cancel_instance_response_data.py
pfruck_contabo/model/cancel_object_storage_response.py
pfruck_contabo/model/cancel_object_storage_response_data.py
pfruck_contabo/model/client_response.py
pfruck_contabo/model/client_secret_response.py
pfruck_contabo/model/create_assignment_response.py
pfruck_contabo/model/create_custom_image_fail_response.py
pfruck_contabo/model/create_custom_image_request.py
pfruck_contabo/model/create_custom_image_response.py
pfruck_contabo/model/create_custom_image_response_data.py
pfruck_contabo/model/create_instance_request.py
pfruck_contabo/model/create_instance_response.py
pfruck_contabo/model/create_instance_response_data.py
pfruck_contabo/model/create_object_storage_request.py
pfruck_contabo/model/create_object_storage_response.py
pfruck_contabo/model/create_object_storage_response_data.py
pfruck_contabo/model/create_role_request.py
pfruck_contabo/model/create_role_response.py
pfruck_contabo/model/create_role_response_data.py
pfruck_contabo/model/create_secret_request.py
pfruck_contabo/model/create_secret_response.py
pfruck_contabo/model/create_snapshot_request.py
pfruck_contabo/model/create_snapshot_response.py
pfruck_contabo/model/create_snapshot_response_data.py
pfruck_contabo/model/create_tag_request.py
pfruck_contabo/model/create_tag_response.py
pfruck_contabo/model/create_tag_response_data.py
pfruck_contabo/model/create_ticket_request.py
pfruck_contabo/model/create_ticket_response.py
pfruck_contabo/model/create_ticket_response_data.py
pfruck_contabo/model/create_user_request.py
pfruck_contabo/model/create_user_response.py
pfruck_contabo/model/create_user_response_data.py
pfruck_contabo/model/credential_data.py
pfruck_contabo/model/credential_response.py
pfruck_contabo/model/custom_images_stats_response.py
pfruck_contabo/model/custom_images_stats_response_data.py
pfruck_contabo/model/data_center_response.py
pfruck_contabo/model/find_assignment_response.py
pfruck_contabo/model/find_client_response.py
pfruck_contabo/model/find_image_response.py
pfruck_contabo/model/find_instance_response.py
pfruck_contabo/model/find_object_storage_response.py
pfruck_contabo/model/find_role_response.py
pfruck_contabo/model/find_secret_response.py
pfruck_contabo/model/find_snapshot_response.py
pfruck_contabo/model/find_tag_response.py
pfruck_contabo/model/find_user_is_password_set_response.py
pfruck_contabo/model/find_user_response.py
pfruck_contabo/model/generate_client_secret_response.py
pfruck_contabo/model/image_audit_response.py
pfruck_contabo/model/image_audit_response_data.py
pfruck_contabo/model/image_response.py
pfruck_contabo/model/instance_response.py
pfruck_contabo/model/instance_restart_action_response.py
pfruck_contabo/model/instance_restart_action_response_data.py
pfruck_contabo/model/instance_start_action_response.py
pfruck_contabo/model/instance_start_action_response_data.py
pfruck_contabo/model/instance_status.py
pfruck_contabo/model/instance_stop_action_response.py
pfruck_contabo/model/instance_stop_action_response_data.py
pfruck_contabo/model/instances_actions_audit_response.py
pfruck_contabo/model/instances_audit_response.py
pfruck_contabo/model/ip_config.py
pfruck_contabo/model/ip_v4.py
pfruck_contabo/model/ip_v6.py
pfruck_contabo/model/links.py
pfruck_contabo/model/list_api_permission_response.py
pfruck_contabo/model/list_assignment_audits_response.py
pfruck_contabo/model/list_assignment_response.py
pfruck_contabo/model/list_data_center_response.py
pfruck_contabo/model/list_image_response.py
pfruck_contabo/model/list_image_response_data.py
pfruck_contabo/model/list_instances_actions_audit_response.py
pfruck_contabo/model/list_instances_audit_response.py
pfruck_contabo/model/list_instances_response.py
pfruck_contabo/model/list_instances_response_data.py
pfruck_contabo/model/list_object_storage_audit_response.py
pfruck_contabo/model/list_object_storage_response.py
pfruck_contabo/model/list_role_audit_response.py
pfruck_contabo/model/list_role_response.py
pfruck_contabo/model/list_secret_audit_response.py
pfruck_contabo/model/list_secret_response.py
pfruck_contabo/model/list_snapshot_response.py
pfruck_contabo/model/list_snapshots_audit_response.py
pfruck_contabo/model/list_tag_audits_response.py
pfruck_contabo/model/list_tag_response.py
pfruck_contabo/model/list_user_audit_response.py
pfruck_contabo/model/list_user_response.py
pfruck_contabo/model/object_storage_audit_response.py
pfruck_contabo/model/object_storage_response.py
pfruck_contabo/model/object_storages_stats_response.py
pfruck_contabo/model/object_storages_stats_response_data.py
pfruck_contabo/model/pagination_meta.py
pfruck_contabo/model/permission_request.py
pfruck_contabo/model/permission_response.py
pfruck_contabo/model/reinstall_instance_request.py
pfruck_contabo/model/reinstall_instance_response.py
pfruck_contabo/model/reinstall_instance_response_data.py
pfruck_contabo/model/resource_permissions_response.py
pfruck_contabo/model/role_audit_response.py
pfruck_contabo/model/role_response.py
pfruck_contabo/model/rollback_snapshot_response.py
pfruck_contabo/model/secret_audit_response.py
pfruck_contabo/model/secret_response.py
pfruck_contabo/model/self_links.py
pfruck_contabo/model/snapshot_response.py
pfruck_contabo/model/snapshots_audit_response.py
pfruck_contabo/model/tag_assignment_self_links.py
pfruck_contabo/model/tag_audit_response.py
pfruck_contabo/model/tag_response.py
pfruck_contabo/model/tag_response1.py
pfruck_contabo/model/update_custom_image_request.py
pfruck_contabo/model/update_custom_image_response.py
pfruck_contabo/model/update_custom_image_response_data.py
pfruck_contabo/model/update_object_storage_response.py
pfruck_contabo/model/update_object_storage_response_data.py
pfruck_contabo/model/update_role_request.py
pfruck_contabo/model/update_role_response.py
pfruck_contabo/model/update_secret_request.py
pfruck_contabo/model/update_secret_response.py
pfruck_contabo/model/update_snapshot_request.py
pfruck_contabo/model/update_snapshot_response.py
pfruck_contabo/model/update_tag_request.py
pfruck_contabo/model/update_tag_response.py
pfruck_contabo/model/update_user_request.py
pfruck_contabo/model/update_user_response.py
pfruck_contabo/model/upgrade_auto_scaling_type.py
pfruck_contabo/model/upgrade_object_storage_request.py
pfruck_contabo/model/user_audit_response.py
pfruck_contabo/model/user_is_password_set_response.py
pfruck_contabo/model/user_response.py
pfruck_contabo/model_utils.py
pfruck_contabo/models/__init__.py
pfruck_contabo/rest.py
requirements.txt
setup.cfg
setup.py
test-requirements.txt
test/__init__.py
tox.ini
1 change: 1 addition & 0 deletions .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6.0.0-SNAPSHOT
1 change: 0 additions & 1 deletion .swagger-codegen/VERSION

This file was deleted.

Loading

0 comments on commit bf8406a

Please sign in to comment.