docker-hub 2.pre.beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/README.md +268 -0
- data/Rakefile +10 -0
- data/docker-hub.gemspec +39 -0
- data/docs/AccessToken.md +40 -0
- data/docs/AccessTokensApi.md +362 -0
- data/docs/AuditLog.md +30 -0
- data/docs/AuditLogAction.md +22 -0
- data/docs/AuditLogActions.md +20 -0
- data/docs/AuditLogsApi.md +163 -0
- data/docs/AuthCreateAccessTokenRequest.md +20 -0
- data/docs/AuthCreateTokenResponse.md +18 -0
- data/docs/AuthenticationApiApi.md +204 -0
- data/docs/BulkInvite.md +18 -0
- data/docs/BulkInviteInviteesInner.md +22 -0
- data/docs/Category.md +20 -0
- data/docs/CreateAccessTokenRequest.md +22 -0
- data/docs/CreateOrgAccessTokenRequest.md +24 -0
- data/docs/CreateOrgAccessTokenResponse.md +34 -0
- data/docs/EmailAddress.md +26 -0
- data/docs/EmailWithUsername.md +28 -0
- data/docs/Error.md +22 -0
- data/docs/GetAccessTokensResponse.md +26 -0
- data/docs/GetAuditActionsResponse.md +18 -0
- data/docs/GetAuditLogsResponse.md +18 -0
- data/docs/GetOrgAccessTokenResponse.md +32 -0
- data/docs/GetOrgAccessTokensResponse.md +24 -0
- data/docs/GroupMember.md +38 -0
- data/docs/GroupsApi.md +682 -0
- data/docs/Image.md +40 -0
- data/docs/ImmutableTagsSettings.md +20 -0
- data/docs/ImmutableTagsVerifyRequest.md +18 -0
- data/docs/ImmutableTagsVerifyResponse.md +18 -0
- data/docs/Invite.md +28 -0
- data/docs/InvitesApi.md +289 -0
- data/docs/Layer.md +22 -0
- data/docs/LegacyEmailAddress.md +28 -0
- data/docs/ListRepositoriesResponse.md +24 -0
- data/docs/OrgAccessToken.md +30 -0
- data/docs/OrgAccessTokenResource.md +22 -0
- data/docs/OrgAccessTokensApi.md +368 -0
- data/docs/OrgGroup.md +26 -0
- data/docs/OrgMember.md +52 -0
- data/docs/OrgMemberPaginated.md +24 -0
- data/docs/OrgSettings.md +18 -0
- data/docs/OrgSettingsApi.md +149 -0
- data/docs/OrgsApi.md +306 -0
- data/docs/Page.md +22 -0
- data/docs/PaginatedTags.md +24 -0
- data/docs/PatchAccessTokenRequest.md +20 -0
- data/docs/PostUsers2FALoginErrorResponse.md +18 -0
- data/docs/PostUsersLoginErrorResponse.md +20 -0
- data/docs/PostUsersLoginSuccessResponse.md +18 -0
- data/docs/ProtobufAny.md +20 -0
- data/docs/RepoCreationRequest.md +28 -0
- data/docs/RepoPermissions.md +22 -0
- data/docs/RepositoriesApi.md +806 -0
- data/docs/RepositoryGroup.md +22 -0
- data/docs/RepositoryGroupCreationRequest.md +20 -0
- data/docs/RepositoryInfo.md +68 -0
- data/docs/RepositoryListEntry.md +50 -0
- data/docs/RestrictedImages.md +22 -0
- data/docs/RpcStatus.md +22 -0
- data/docs/ScimApi.md +642 -0
- data/docs/ScimEmail.md +22 -0
- data/docs/ScimError.md +22 -0
- data/docs/ScimGroup.md +20 -0
- data/docs/ScimResourceType.md +28 -0
- data/docs/ScimSchema.md +26 -0
- data/docs/ScimSchemaAttribute.md +34 -0
- data/docs/ScimSchemaParentAttribute.md +36 -0
- data/docs/ScimServiceProviderConfig.md +34 -0
- data/docs/ScimServiceProviderConfigAuthenticationSchemes.md +24 -0
- data/docs/ScimServiceProviderConfigBulk.md +22 -0
- data/docs/ScimServiceProviderConfigChangePassword.md +18 -0
- data/docs/ScimServiceProviderConfigFilter.md +20 -0
- data/docs/ScimServiceProviderConfigPatch.md +18 -0
- data/docs/ScimServiceProviderConfigSort.md +18 -0
- data/docs/ScimUser.md +34 -0
- data/docs/ScimUserMeta.md +24 -0
- data/docs/ScimUserName.md +20 -0
- data/docs/Tag.md +42 -0
- data/docs/TeamRepo.md +20 -0
- data/docs/UpdateOrgAccessTokenRequest.md +24 -0
- data/docs/UpdateOrgAccessTokenResponse.md +32 -0
- data/docs/UpdateRepositoryImmutableTagsRequest.md +20 -0
- data/docs/User.md +36 -0
- data/docs/Users2FALoginRequest.md +20 -0
- data/docs/UsersLoginRequest.md +20 -0
- data/docs/V2AccessTokensUuidGet200Response.md +40 -0
- data/docs/V2InvitesBulkPost202Response.md +18 -0
- data/docs/V2InvitesBulkPostRequest.md +26 -0
- data/docs/V2OrgsNameSettingsPutRequest.md +18 -0
- data/docs/V2OrgsNameSettingsPutRequestRestrictedImages.md +22 -0
- data/docs/V2OrgsOrgNameGroupsGet200Response.md +24 -0
- data/docs/V2OrgsOrgNameGroupsGroupNameMembersGet200Response.md +24 -0
- data/docs/V2OrgsOrgNameGroupsGroupNameMembersPostRequest.md +18 -0
- data/docs/V2OrgsOrgNameGroupsGroupNamePatchRequest.md +20 -0
- data/docs/V2OrgsOrgNameGroupsPostRequest.md +20 -0
- data/docs/V2OrgsOrgNameInvitesGet200Response.md +18 -0
- data/docs/V2OrgsOrgNameMembersExportGet200ResponseInner.md +30 -0
- data/docs/V2OrgsOrgNameMembersUsernamePutRequest.md +18 -0
- data/docs/V2Scim20ResourceTypesGet200Response.md +22 -0
- data/docs/V2Scim20ResourceTypesNameGet404Response.md +22 -0
- data/docs/V2Scim20SchemasGet200Response.md +22 -0
- data/docs/V2Scim20ServiceProviderConfigGet401Response.md +22 -0
- data/docs/V2Scim20ServiceProviderConfigGet500Response.md +22 -0
- data/docs/V2Scim20UsersGet200Response.md +26 -0
- data/docs/V2Scim20UsersGet400Response.md +24 -0
- data/docs/V2Scim20UsersGet403Response.md +22 -0
- data/docs/V2Scim20UsersIdPutRequest.md +22 -0
- data/docs/V2Scim20UsersIdPutRequestName.md +20 -0
- data/docs/V2Scim20UsersPost409Response.md +22 -0
- data/docs/V2Scim20UsersPostRequest.md +22 -0
- data/docs/ValueError.md +20 -0
- data/git_push.sh +57 -0
- data/lib/docker-hub/api/access_tokens_api.rb +353 -0
- data/lib/docker-hub/api/audit_logs_api.rb +169 -0
- data/lib/docker-hub/api/authentication_api_api.rb +222 -0
- data/lib/docker-hub/api/groups_api.rb +690 -0
- data/lib/docker-hub/api/invites_api.rb +282 -0
- data/lib/docker-hub/api/org_access_tokens_api.rb +371 -0
- data/lib/docker-hub/api/org_settings_api.rb +159 -0
- data/lib/docker-hub/api/orgs_api.rb +323 -0
- data/lib/docker-hub/api/repositories_api.rb +849 -0
- data/lib/docker-hub/api/scim_api.rb +615 -0
- data/lib/docker-hub/api_client.rb +394 -0
- data/lib/docker-hub/api_error.rb +58 -0
- data/lib/docker-hub/configuration.rb +306 -0
- data/lib/docker-hub/models/access_token.rb +316 -0
- data/lib/docker-hub/models/audit_log.rb +271 -0
- data/lib/docker-hub/models/audit_log_action.rb +236 -0
- data/lib/docker-hub/models/audit_log_actions.rb +227 -0
- data/lib/docker-hub/models/auth_create_access_token_request.rb +240 -0
- data/lib/docker-hub/models/auth_create_token_response.rb +216 -0
- data/lib/docker-hub/models/bulk_invite.rb +217 -0
- data/lib/docker-hub/models/bulk_invite_invitees_inner.rb +234 -0
- data/lib/docker-hub/models/category.rb +289 -0
- data/lib/docker-hub/models/create_access_token_request.rb +279 -0
- data/lib/docker-hub/models/create_org_access_token_request.rb +248 -0
- data/lib/docker-hub/models/create_org_access_token_response.rb +298 -0
- data/lib/docker-hub/models/email_address.rb +250 -0
- data/lib/docker-hub/models/email_with_username.rb +266 -0
- data/lib/docker-hub/models/error.rb +234 -0
- data/lib/docker-hub/models/get_access_tokens_response.rb +252 -0
- data/lib/docker-hub/models/get_audit_actions_response.rb +218 -0
- data/lib/docker-hub/models/get_audit_logs_response.rb +218 -0
- data/lib/docker-hub/models/get_org_access_token_response.rb +289 -0
- data/lib/docker-hub/models/get_org_access_tokens_response.rb +243 -0
- data/lib/docker-hub/models/group_member.rb +339 -0
- data/lib/docker-hub/models/image.rb +363 -0
- data/lib/docker-hub/models/immutable_tags_settings.rb +241 -0
- data/lib/docker-hub/models/immutable_tags_verify_request.rb +243 -0
- data/lib/docker-hub/models/immutable_tags_verify_response.rb +224 -0
- data/lib/docker-hub/models/invite.rb +263 -0
- data/lib/docker-hub/models/layer.rb +236 -0
- data/lib/docker-hub/models/legacy_email_address.rb +266 -0
- data/lib/docker-hub/models/list_repositories_response.rb +255 -0
- data/lib/docker-hub/models/org_access_token.rb +270 -0
- data/lib/docker-hub/models/org_access_token_resource.rb +271 -0
- data/lib/docker-hub/models/org_group.rb +255 -0
- data/lib/docker-hub/models/org_member.rb +431 -0
- data/lib/docker-hub/models/org_member_paginated.rb +247 -0
- data/lib/docker-hub/models/org_settings.rb +214 -0
- data/lib/docker-hub/models/page.rb +237 -0
- data/lib/docker-hub/models/paginated_tags.rb +255 -0
- data/lib/docker-hub/models/patch_access_token_request.rb +251 -0
- data/lib/docker-hub/models/post_users2_fa_login_error_response.rb +216 -0
- data/lib/docker-hub/models/post_users_login_error_response.rb +234 -0
- data/lib/docker-hub/models/post_users_login_success_response.rb +216 -0
- data/lib/docker-hub/models/protobuf_any.rb +223 -0
- data/lib/docker-hub/models/repo_creation_request.rb +358 -0
- data/lib/docker-hub/models/repo_permissions.rb +256 -0
- data/lib/docker-hub/models/repository_group.rb +269 -0
- data/lib/docker-hub/models/repository_group_creation_request.rb +273 -0
- data/lib/docker-hub/models/repository_info.rb +609 -0
- data/lib/docker-hub/models/repository_list_entry.rb +488 -0
- data/lib/docker-hub/models/restricted_images.rb +235 -0
- data/lib/docker-hub/models/rpc_status.rb +234 -0
- data/lib/docker-hub/models/scim_email.rb +232 -0
- data/lib/docker-hub/models/scim_error.rb +236 -0
- data/lib/docker-hub/models/scim_group.rb +223 -0
- data/lib/docker-hub/models/scim_resource_type.rb +261 -0
- data/lib/docker-hub/models/scim_schema.rb +254 -0
- data/lib/docker-hub/models/scim_schema_attribute.rb +320 -0
- data/lib/docker-hub/models/scim_schema_parent_attribute.rb +338 -0
- data/lib/docker-hub/models/scim_service_provider_config.rb +288 -0
- data/lib/docker-hub/models/scim_service_provider_config_authentication_schemes.rb +241 -0
- data/lib/docker-hub/models/scim_service_provider_config_bulk.rb +232 -0
- data/lib/docker-hub/models/scim_service_provider_config_change_password.rb +214 -0
- data/lib/docker-hub/models/scim_service_provider_config_filter.rb +223 -0
- data/lib/docker-hub/models/scim_service_provider_config_patch.rb +214 -0
- data/lib/docker-hub/models/scim_service_provider_config_sort.rb +214 -0
- data/lib/docker-hub/models/scim_user.rb +295 -0
- data/lib/docker-hub/models/scim_user_meta.rb +243 -0
- data/lib/docker-hub/models/scim_user_name.rb +223 -0
- data/lib/docker-hub/models/tag.rb +371 -0
- data/lib/docker-hub/models/team_repo.rb +244 -0
- data/lib/docker-hub/models/update_org_access_token_request.rb +247 -0
- data/lib/docker-hub/models/update_org_access_token_response.rb +289 -0
- data/lib/docker-hub/models/update_repository_immutable_tags_request.rb +241 -0
- data/lib/docker-hub/models/user.rb +330 -0
- data/lib/docker-hub/models/users2_fa_login_request.rb +240 -0
- data/lib/docker-hub/models/users_login_request.rb +240 -0
- data/lib/docker-hub/models/v2_access_tokens_uuid_get200_response.rb +323 -0
- data/lib/docker-hub/models/v2_invites_bulk_post202_response.rb +214 -0
- data/lib/docker-hub/models/v2_invites_bulk_post_request.rb +271 -0
- data/lib/docker-hub/models/v2_orgs_name_settings_put_request.rb +221 -0
- data/lib/docker-hub/models/v2_orgs_name_settings_put_request_restricted_images.rb +263 -0
- data/lib/docker-hub/models/v2_orgs_org_name_groups_get200_response.rb +243 -0
- data/lib/docker-hub/models/v2_orgs_org_name_groups_group_name_members_get200_response.rb +243 -0
- data/lib/docker-hub/models/v2_orgs_org_name_groups_group_name_members_post_request.rb +221 -0
- data/lib/docker-hub/models/v2_orgs_org_name_groups_group_name_patch_request.rb +223 -0
- data/lib/docker-hub/models/v2_orgs_org_name_groups_post_request.rb +230 -0
- data/lib/docker-hub/models/v2_orgs_org_name_invites_get200_response.rb +216 -0
- data/lib/docker-hub/models/v2_orgs_org_name_members_export_get200_response_inner.rb +356 -0
- data/lib/docker-hub/models/v2_orgs_org_name_members_username_put_request.rb +256 -0
- data/lib/docker-hub/models/v2_scim20_resource_types_get200_response.rb +236 -0
- data/lib/docker-hub/models/v2_scim20_resource_types_name_get404_response.rb +243 -0
- data/lib/docker-hub/models/v2_scim20_schemas_get200_response.rb +236 -0
- data/lib/docker-hub/models/v2_scim20_service_provider_config_get401_response.rb +243 -0
- data/lib/docker-hub/models/v2_scim20_service_provider_config_get500_response.rb +243 -0
- data/lib/docker-hub/models/v2_scim20_users_get200_response.rb +254 -0
- data/lib/docker-hub/models/v2_scim20_users_get400_response.rb +253 -0
- data/lib/docker-hub/models/v2_scim20_users_get403_response.rb +243 -0
- data/lib/docker-hub/models/v2_scim20_users_id_put_request.rb +244 -0
- data/lib/docker-hub/models/v2_scim20_users_id_put_request_name.rb +230 -0
- data/lib/docker-hub/models/v2_scim20_users_post409_response.rb +243 -0
- data/lib/docker-hub/models/v2_scim20_users_post_request.rb +249 -0
- data/lib/docker-hub/models/value_error.rb +226 -0
- data/lib/docker-hub/version.rb +15 -0
- data/lib/docker-hub.rb +150 -0
- data/spec/api/access_tokens_api_spec.rb +97 -0
- data/spec/api/audit_logs_api_spec.rb +66 -0
- data/spec/api/authentication_api_api_spec.rb +71 -0
- data/spec/api/groups_api_spec.rb +162 -0
- data/spec/api/invites_api_spec.rb +84 -0
- data/spec/api/org_access_tokens_api_spec.rb +100 -0
- data/spec/api/org_settings_api_spec.rb +60 -0
- data/spec/api/orgs_api_spec.rb +92 -0
- data/spec/api/repositories_api_spec.rb +183 -0
- data/spec/api/scim_api_spec.rb +146 -0
- data/spec/models/access_token_spec.rb +102 -0
- data/spec/models/audit_log_action_spec.rb +48 -0
- data/spec/models/audit_log_actions_spec.rb +42 -0
- data/spec/models/audit_log_spec.rb +72 -0
- data/spec/models/auth_create_access_token_request_spec.rb +42 -0
- data/spec/models/auth_create_token_response_spec.rb +36 -0
- data/spec/models/bulk_invite_invitees_inner_spec.rb +48 -0
- data/spec/models/bulk_invite_spec.rb +36 -0
- data/spec/models/category_spec.rb +42 -0
- data/spec/models/create_access_token_request_spec.rb +48 -0
- data/spec/models/create_org_access_token_request_spec.rb +54 -0
- data/spec/models/create_org_access_token_response_spec.rb +84 -0
- data/spec/models/email_address_spec.rb +60 -0
- data/spec/models/email_with_username_spec.rb +66 -0
- data/spec/models/error_spec.rb +48 -0
- data/spec/models/get_access_tokens_response_spec.rb +60 -0
- data/spec/models/get_audit_actions_response_spec.rb +36 -0
- data/spec/models/get_audit_logs_response_spec.rb +36 -0
- data/spec/models/get_org_access_token_response_spec.rb +78 -0
- data/spec/models/get_org_access_tokens_response_spec.rb +54 -0
- data/spec/models/group_member_spec.rb +100 -0
- data/spec/models/image_spec.rb +106 -0
- data/spec/models/immutable_tags_settings_spec.rb +42 -0
- data/spec/models/immutable_tags_verify_request_spec.rb +36 -0
- data/spec/models/immutable_tags_verify_response_spec.rb +36 -0
- data/spec/models/invite_spec.rb +66 -0
- data/spec/models/layer_spec.rb +48 -0
- data/spec/models/legacy_email_address_spec.rb +66 -0
- data/spec/models/list_repositories_response_spec.rb +54 -0
- data/spec/models/org_access_token_resource_spec.rb +52 -0
- data/spec/models/org_access_token_spec.rb +72 -0
- data/spec/models/org_group_spec.rb +60 -0
- data/spec/models/org_member_paginated_spec.rb +54 -0
- data/spec/models/org_member_spec.rb +146 -0
- data/spec/models/org_settings_spec.rb +36 -0
- data/spec/models/page_spec.rb +48 -0
- data/spec/models/paginated_tags_spec.rb +54 -0
- data/spec/models/patch_access_token_request_spec.rb +42 -0
- data/spec/models/post_users2_fa_login_error_response_spec.rb +36 -0
- data/spec/models/post_users_login_error_response_spec.rb +42 -0
- data/spec/models/post_users_login_success_response_spec.rb +36 -0
- data/spec/models/protobuf_any_spec.rb +42 -0
- data/spec/models/repo_creation_request_spec.rb +66 -0
- data/spec/models/repo_permissions_spec.rb +48 -0
- data/spec/models/repository_group_creation_request_spec.rb +46 -0
- data/spec/models/repository_group_spec.rb +52 -0
- data/spec/models/repository_info_spec.rb +186 -0
- data/spec/models/repository_list_entry_spec.rb +140 -0
- data/spec/models/restricted_images_spec.rb +48 -0
- data/spec/models/rpc_status_spec.rb +48 -0
- data/spec/models/scim_email_spec.rb +48 -0
- data/spec/models/scim_error_spec.rb +48 -0
- data/spec/models/scim_group_spec.rb +42 -0
- data/spec/models/scim_resource_type_spec.rb +66 -0
- data/spec/models/scim_schema_attribute_spec.rb +88 -0
- data/spec/models/scim_schema_parent_attribute_spec.rb +94 -0
- data/spec/models/scim_schema_spec.rb +60 -0
- data/spec/models/scim_service_provider_config_authentication_schemes_spec.rb +54 -0
- data/spec/models/scim_service_provider_config_bulk_spec.rb +48 -0
- data/spec/models/scim_service_provider_config_change_password_spec.rb +36 -0
- data/spec/models/scim_service_provider_config_filter_spec.rb +42 -0
- data/spec/models/scim_service_provider_config_patch_spec.rb +36 -0
- data/spec/models/scim_service_provider_config_sort_spec.rb +36 -0
- data/spec/models/scim_service_provider_config_spec.rb +84 -0
- data/spec/models/scim_user_meta_spec.rb +54 -0
- data/spec/models/scim_user_name_spec.rb +42 -0
- data/spec/models/scim_user_spec.rb +84 -0
- data/spec/models/tag_spec.rb +112 -0
- data/spec/models/team_repo_spec.rb +46 -0
- data/spec/models/update_org_access_token_request_spec.rb +54 -0
- data/spec/models/update_org_access_token_response_spec.rb +78 -0
- data/spec/models/update_repository_immutable_tags_request_spec.rb +42 -0
- data/spec/models/user_spec.rb +94 -0
- data/spec/models/users2_fa_login_request_spec.rb +42 -0
- data/spec/models/users_login_request_spec.rb +42 -0
- data/spec/models/v2_access_tokens_uuid_get200_response_spec.rb +102 -0
- data/spec/models/v2_invites_bulk_post202_response_spec.rb +36 -0
- data/spec/models/v2_invites_bulk_post_request_spec.rb +60 -0
- data/spec/models/v2_orgs_name_settings_put_request_restricted_images_spec.rb +48 -0
- data/spec/models/v2_orgs_name_settings_put_request_spec.rb +36 -0
- data/spec/models/v2_orgs_org_name_groups_get200_response_spec.rb +54 -0
- data/spec/models/v2_orgs_org_name_groups_group_name_members_get200_response_spec.rb +54 -0
- data/spec/models/v2_orgs_org_name_groups_group_name_members_post_request_spec.rb +36 -0
- data/spec/models/v2_orgs_org_name_groups_group_name_patch_request_spec.rb +42 -0
- data/spec/models/v2_orgs_org_name_groups_post_request_spec.rb +42 -0
- data/spec/models/v2_orgs_org_name_invites_get200_response_spec.rb +36 -0
- data/spec/models/v2_orgs_org_name_members_export_get200_response_inner_spec.rb +80 -0
- data/spec/models/v2_orgs_org_name_members_username_put_request_spec.rb +40 -0
- data/spec/models/v2_scim20_resource_types_get200_response_spec.rb +48 -0
- data/spec/models/v2_scim20_resource_types_name_get404_response_spec.rb +48 -0
- data/spec/models/v2_scim20_schemas_get200_response_spec.rb +48 -0
- data/spec/models/v2_scim20_service_provider_config_get401_response_spec.rb +48 -0
- data/spec/models/v2_scim20_service_provider_config_get500_response_spec.rb +48 -0
- data/spec/models/v2_scim20_users_get200_response_spec.rb +60 -0
- data/spec/models/v2_scim20_users_get400_response_spec.rb +54 -0
- data/spec/models/v2_scim20_users_get403_response_spec.rb +48 -0
- data/spec/models/v2_scim20_users_id_put_request_name_spec.rb +42 -0
- data/spec/models/v2_scim20_users_id_put_request_spec.rb +48 -0
- data/spec/models/v2_scim20_users_post409_response_spec.rb +48 -0
- data/spec/models/v2_scim20_users_post_request_spec.rb +48 -0
- data/spec/models/value_error_spec.rb +42 -0
- data/spec/spec_helper.rb +111 -0
- metadata +539 -0
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Docker HUB API
|
|
3
|
+
|
|
4
|
+
#Docker Hub is a service provided by Docker for finding and sharing container images with your team. It is the world's largest library and community for container images. In addition to the [Docker Hub UI](https://docs.docker.com/docker-hub/) and [Docker Hub CLI tool](https://github.com/docker/hub-tool#readme) (currently experimental), Docker provides an API that allows you to interact with Docker Hub. Browse through the Docker Hub API documentation to explore the supported endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 2-beta
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 7.2.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for DockerHub::GroupMember
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe DockerHub::GroupMember do
|
|
21
|
+
let(:instance) { DockerHub::GroupMember.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GroupMember' do
|
|
24
|
+
it 'should create an instance of GroupMember' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(DockerHub::GroupMember)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "id"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "company"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "date_joined"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "full_name"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "gravatar_email"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "gravatar_url"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
describe 'test attribute "location"' do
|
|
67
|
+
it 'should work' do
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
describe 'test attribute "profile_url"' do
|
|
73
|
+
it 'should work' do
|
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
describe 'test attribute "type"' do
|
|
79
|
+
it 'should work' do
|
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["User", "Org"])
|
|
82
|
+
# validator.allowable_values.each do |value|
|
|
83
|
+
# expect { instance.type = value }.not_to raise_error
|
|
84
|
+
# end
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
describe 'test attribute "username"' do
|
|
89
|
+
it 'should work' do
|
|
90
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
91
|
+
end
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
describe 'test attribute "email"' do
|
|
95
|
+
it 'should work' do
|
|
96
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
97
|
+
end
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
end
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Docker HUB API
|
|
3
|
+
|
|
4
|
+
#Docker Hub is a service provided by Docker for finding and sharing container images with your team. It is the world's largest library and community for container images. In addition to the [Docker Hub UI](https://docs.docker.com/docker-hub/) and [Docker Hub CLI tool](https://github.com/docker/hub-tool#readme) (currently experimental), Docker provides an API that allows you to interact with Docker Hub. Browse through the Docker Hub API documentation to explore the supported endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 2-beta
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 7.2.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for DockerHub::Image
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe DockerHub::Image do
|
|
21
|
+
let(:instance) { DockerHub::Image.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of Image' do
|
|
24
|
+
it 'should create an instance of Image' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(DockerHub::Image)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "architecture"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "features"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "variant"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "digest"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "layers"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "os"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
describe 'test attribute "os_features"' do
|
|
67
|
+
it 'should work' do
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
describe 'test attribute "os_version"' do
|
|
73
|
+
it 'should work' do
|
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
describe 'test attribute "size"' do
|
|
79
|
+
it 'should work' do
|
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
describe 'test attribute "status"' do
|
|
85
|
+
it 'should work' do
|
|
86
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
87
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["active", "inactive"])
|
|
88
|
+
# validator.allowable_values.each do |value|
|
|
89
|
+
# expect { instance.status = value }.not_to raise_error
|
|
90
|
+
# end
|
|
91
|
+
end
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
describe 'test attribute "last_pulled"' do
|
|
95
|
+
it 'should work' do
|
|
96
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
97
|
+
end
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
describe 'test attribute "last_pushed"' do
|
|
101
|
+
it 'should work' do
|
|
102
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
103
|
+
end
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Docker HUB API
|
|
3
|
+
|
|
4
|
+
#Docker Hub is a service provided by Docker for finding and sharing container images with your team. It is the world's largest library and community for container images. In addition to the [Docker Hub UI](https://docs.docker.com/docker-hub/) and [Docker Hub CLI tool](https://github.com/docker/hub-tool#readme) (currently experimental), Docker provides an API that allows you to interact with Docker Hub. Browse through the Docker Hub API documentation to explore the supported endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 2-beta
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 7.2.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for DockerHub::ImmutableTagsSettings
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe DockerHub::ImmutableTagsSettings do
|
|
21
|
+
let(:instance) { DockerHub::ImmutableTagsSettings.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ImmutableTagsSettings' do
|
|
24
|
+
it 'should create an instance of ImmutableTagsSettings' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(DockerHub::ImmutableTagsSettings)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "enabled"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "rules"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Docker HUB API
|
|
3
|
+
|
|
4
|
+
#Docker Hub is a service provided by Docker for finding and sharing container images with your team. It is the world's largest library and community for container images. In addition to the [Docker Hub UI](https://docs.docker.com/docker-hub/) and [Docker Hub CLI tool](https://github.com/docker/hub-tool#readme) (currently experimental), Docker provides an API that allows you to interact with Docker Hub. Browse through the Docker Hub API documentation to explore the supported endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 2-beta
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 7.2.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for DockerHub::ImmutableTagsVerifyRequest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe DockerHub::ImmutableTagsVerifyRequest do
|
|
21
|
+
let(:instance) { DockerHub::ImmutableTagsVerifyRequest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ImmutableTagsVerifyRequest' do
|
|
24
|
+
it 'should create an instance of ImmutableTagsVerifyRequest' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(DockerHub::ImmutableTagsVerifyRequest)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "regex"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Docker HUB API
|
|
3
|
+
|
|
4
|
+
#Docker Hub is a service provided by Docker for finding and sharing container images with your team. It is the world's largest library and community for container images. In addition to the [Docker Hub UI](https://docs.docker.com/docker-hub/) and [Docker Hub CLI tool](https://github.com/docker/hub-tool#readme) (currently experimental), Docker provides an API that allows you to interact with Docker Hub. Browse through the Docker Hub API documentation to explore the supported endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 2-beta
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 7.2.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for DockerHub::ImmutableTagsVerifyResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe DockerHub::ImmutableTagsVerifyResponse do
|
|
21
|
+
let(:instance) { DockerHub::ImmutableTagsVerifyResponse.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ImmutableTagsVerifyResponse' do
|
|
24
|
+
it 'should create an instance of ImmutableTagsVerifyResponse' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(DockerHub::ImmutableTagsVerifyResponse)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "tags"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
end
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Docker HUB API
|
|
3
|
+
|
|
4
|
+
#Docker Hub is a service provided by Docker for finding and sharing container images with your team. It is the world's largest library and community for container images. In addition to the [Docker Hub UI](https://docs.docker.com/docker-hub/) and [Docker Hub CLI tool](https://github.com/docker/hub-tool#readme) (currently experimental), Docker provides an API that allows you to interact with Docker Hub. Browse through the Docker Hub API documentation to explore the supported endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 2-beta
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 7.2.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for DockerHub::Invite
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe DockerHub::Invite do
|
|
21
|
+
let(:instance) { DockerHub::Invite.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of Invite' do
|
|
24
|
+
it 'should create an instance of Invite' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(DockerHub::Invite)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "id"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "inviter_username"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "invitee"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "org"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "team"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "created_at"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Docker HUB API
|
|
3
|
+
|
|
4
|
+
#Docker Hub is a service provided by Docker for finding and sharing container images with your team. It is the world's largest library and community for container images. In addition to the [Docker Hub UI](https://docs.docker.com/docker-hub/) and [Docker Hub CLI tool](https://github.com/docker/hub-tool#readme) (currently experimental), Docker provides an API that allows you to interact with Docker Hub. Browse through the Docker Hub API documentation to explore the supported endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 2-beta
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 7.2.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for DockerHub::Layer
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe DockerHub::Layer do
|
|
21
|
+
let(:instance) { DockerHub::Layer.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of Layer' do
|
|
24
|
+
it 'should create an instance of Layer' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(DockerHub::Layer)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "digest"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "size"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "instruction"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
end
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Docker HUB API
|
|
3
|
+
|
|
4
|
+
#Docker Hub is a service provided by Docker for finding and sharing container images with your team. It is the world's largest library and community for container images. In addition to the [Docker Hub UI](https://docs.docker.com/docker-hub/) and [Docker Hub CLI tool](https://github.com/docker/hub-tool#readme) (currently experimental), Docker provides an API that allows you to interact with Docker Hub. Browse through the Docker Hub API documentation to explore the supported endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 2-beta
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 7.2.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for DockerHub::LegacyEmailAddress
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe DockerHub::LegacyEmailAddress do
|
|
21
|
+
let(:instance) { DockerHub::LegacyEmailAddress.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of LegacyEmailAddress' do
|
|
24
|
+
it 'should create an instance of LegacyEmailAddress' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(DockerHub::LegacyEmailAddress)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "id"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "user_id"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "email"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "verified"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "primary"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "user"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
end
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Docker HUB API
|
|
3
|
+
|
|
4
|
+
#Docker Hub is a service provided by Docker for finding and sharing container images with your team. It is the world's largest library and community for container images. In addition to the [Docker Hub UI](https://docs.docker.com/docker-hub/) and [Docker Hub CLI tool](https://github.com/docker/hub-tool#readme) (currently experimental), Docker provides an API that allows you to interact with Docker Hub. Browse through the Docker Hub API documentation to explore the supported endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 2-beta
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 7.2.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for DockerHub::ListRepositoriesResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe DockerHub::ListRepositoriesResponse do
|
|
21
|
+
let(:instance) { DockerHub::ListRepositoriesResponse.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ListRepositoriesResponse' do
|
|
24
|
+
it 'should create an instance of ListRepositoriesResponse' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(DockerHub::ListRepositoriesResponse)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "count"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "_next"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "previous"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "results"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
end
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Docker HUB API
|
|
3
|
+
|
|
4
|
+
#Docker Hub is a service provided by Docker for finding and sharing container images with your team. It is the world's largest library and community for container images. In addition to the [Docker Hub UI](https://docs.docker.com/docker-hub/) and [Docker Hub CLI tool](https://github.com/docker/hub-tool#readme) (currently experimental), Docker provides an API that allows you to interact with Docker Hub. Browse through the Docker Hub API documentation to explore the supported endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 2-beta
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 7.2.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for DockerHub::OrgAccessTokenResource
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe DockerHub::OrgAccessTokenResource do
|
|
21
|
+
let(:instance) { DockerHub::OrgAccessTokenResource.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of OrgAccessTokenResource' do
|
|
24
|
+
it 'should create an instance of OrgAccessTokenResource' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(DockerHub::OrgAccessTokenResource)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "type"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["TYPE_REPO", "TYPE_ORG"])
|
|
34
|
+
# validator.allowable_values.each do |value|
|
|
35
|
+
# expect { instance.type = value }.not_to raise_error
|
|
36
|
+
# end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "path"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "scopes"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
end
|