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,146 @@
|
|
|
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
|
+
|
|
16
|
+
# Unit tests for DockerHub::ScimApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'ScimApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = DockerHub::ScimApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of ScimApi' do
|
|
30
|
+
it 'should create an instance of ScimApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(DockerHub::ScimApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for v2_scim20_resource_types_get
|
|
36
|
+
# List resource types
|
|
37
|
+
# Returns all resource types supported for the SCIM configuration.
|
|
38
|
+
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @return [V2Scim20ResourceTypesGet200Response]
|
|
40
|
+
describe 'v2_scim20_resource_types_get test' 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
|
+
# unit tests for v2_scim20_resource_types_name_get
|
|
47
|
+
# Get a resource type
|
|
48
|
+
# Returns a resource type by name.
|
|
49
|
+
# @param name
|
|
50
|
+
# @param [Hash] opts the optional parameters
|
|
51
|
+
# @return [ScimResourceType]
|
|
52
|
+
describe 'v2_scim20_resource_types_name_get test' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# unit tests for v2_scim20_schemas_get
|
|
59
|
+
# List schemas
|
|
60
|
+
# Returns all schemas supported for the SCIM configuration.
|
|
61
|
+
# @param [Hash] opts the optional parameters
|
|
62
|
+
# @return [V2Scim20SchemasGet200Response]
|
|
63
|
+
describe 'v2_scim20_schemas_get test' do
|
|
64
|
+
it 'should work' do
|
|
65
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
66
|
+
end
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
# unit tests for v2_scim20_schemas_id_get
|
|
70
|
+
# Get a schema
|
|
71
|
+
# Returns a schema by ID.
|
|
72
|
+
# @param id
|
|
73
|
+
# @param [Hash] opts the optional parameters
|
|
74
|
+
# @return [ScimSchema]
|
|
75
|
+
describe 'v2_scim20_schemas_id_get test' do
|
|
76
|
+
it 'should work' do
|
|
77
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
78
|
+
end
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
# unit tests for v2_scim20_service_provider_config_get
|
|
82
|
+
# Get service provider config
|
|
83
|
+
# Returns a service provider config for Docker's configuration.
|
|
84
|
+
# @param [Hash] opts the optional parameters
|
|
85
|
+
# @return [ScimServiceProviderConfig]
|
|
86
|
+
describe 'v2_scim20_service_provider_config_get test' do
|
|
87
|
+
it 'should work' do
|
|
88
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
89
|
+
end
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
# unit tests for v2_scim20_users_get
|
|
93
|
+
# List users
|
|
94
|
+
# Returns paginated users for an organization. Use `startIndex` and `count` query parameters to receive paginated results. **Sorting:** Sorting allows you to specify the order in which resources are returned by specifying a combination of `sortBy` and `sortOrder` query parameters. The `sortBy` parameter specifies the attribute whose value will be used to order the returned responses. The `sortOrder` parameter defines the order in which the `sortBy` parameter is applied. Allowed values are \"ascending\" and \"descending\". **Filtering:** You can request a subset of resources by specifying the `filter` query parameter containing a filter expression. Attribute names and attribute operators used in filters are case insensitive. The filter parameter must contain at least one valid expression. Each expression must contain an attribute name followed by an attribute operator and an optional value. Supported operators are listed below. - `eq` equal - `ne` not equal - `co` contains - `sw` starts with - `and` Logical \"and\" - `or` Logical \"or\" - `not` \"Not\" function - `()` Precedence grouping
|
|
95
|
+
# @param [Hash] opts the optional parameters
|
|
96
|
+
# @option opts [Integer] :start_index
|
|
97
|
+
# @option opts [Integer] :count
|
|
98
|
+
# @option opts [String] :filter
|
|
99
|
+
# @option opts [String] :attributes Comma delimited list of attributes to limit to in the response.
|
|
100
|
+
# @option opts [String] :sort_order
|
|
101
|
+
# @option opts [String] :sort_by User attribute to sort by.
|
|
102
|
+
# @return [V2Scim20UsersGet200Response]
|
|
103
|
+
describe 'v2_scim20_users_get test' do
|
|
104
|
+
it 'should work' do
|
|
105
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
106
|
+
end
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
# unit tests for v2_scim20_users_id_get
|
|
110
|
+
# Get a user
|
|
111
|
+
# Returns a user by ID.
|
|
112
|
+
# @param id The user ID.
|
|
113
|
+
# @param [Hash] opts the optional parameters
|
|
114
|
+
# @return [ScimUser]
|
|
115
|
+
describe 'v2_scim20_users_id_get test' do
|
|
116
|
+
it 'should work' do
|
|
117
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
118
|
+
end
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
# unit tests for v2_scim20_users_id_put
|
|
122
|
+
# Update a user
|
|
123
|
+
# Updates a user. This route is used to change the user's name, activate, and deactivate the user.
|
|
124
|
+
# @param id The user ID.
|
|
125
|
+
# @param v2_scim20_users_id_put_request
|
|
126
|
+
# @param [Hash] opts the optional parameters
|
|
127
|
+
# @return [ScimUser]
|
|
128
|
+
describe 'v2_scim20_users_id_put test' do
|
|
129
|
+
it 'should work' do
|
|
130
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
131
|
+
end
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
# unit tests for v2_scim20_users_post
|
|
135
|
+
# Create user
|
|
136
|
+
# Creates a user. If the user already exists by email, they are assigned to the organization on the \"company\" team.
|
|
137
|
+
# @param v2_scim20_users_post_request
|
|
138
|
+
# @param [Hash] opts the optional parameters
|
|
139
|
+
# @return [ScimUser]
|
|
140
|
+
describe 'v2_scim20_users_post test' do
|
|
141
|
+
it 'should work' do
|
|
142
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
143
|
+
end
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
end
|
|
@@ -0,0 +1,102 @@
|
|
|
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::AccessToken
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe DockerHub::AccessToken do
|
|
21
|
+
let(:instance) { DockerHub::AccessToken.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of AccessToken' do
|
|
24
|
+
it 'should create an instance of AccessToken' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(DockerHub::AccessToken)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "uuid"' 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 "client_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 "creator_ip"' 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 "creator_ua"' 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 "created_at"' 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 "last_used"' 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 "generated_by"' 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 "is_active"' 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 "token"' 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 "token_label"' do
|
|
85
|
+
it 'should work' do
|
|
86
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
describe 'test attribute "scopes"' do
|
|
91
|
+
it 'should work' do
|
|
92
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
describe 'test attribute "expires_at"' do
|
|
97
|
+
it 'should work' do
|
|
98
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
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::AuditLogAction
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe DockerHub::AuditLogAction do
|
|
21
|
+
let(:instance) { DockerHub::AuditLogAction.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of AuditLogAction' do
|
|
24
|
+
it 'should create an instance of AuditLogAction' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(DockerHub::AuditLogAction)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "name"' 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 "description"' 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 "label"' 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,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::AuditLogActions
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe DockerHub::AuditLogActions do
|
|
21
|
+
let(:instance) { DockerHub::AuditLogActions.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of AuditLogActions' do
|
|
24
|
+
it 'should create an instance of AuditLogActions' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(DockerHub::AuditLogActions)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "actions"' 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 "label"' 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,72 @@
|
|
|
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::AuditLog
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe DockerHub::AuditLog do
|
|
21
|
+
let(:instance) { DockerHub::AuditLog.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of AuditLog' do
|
|
24
|
+
it 'should create an instance of AuditLog' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(DockerHub::AuditLog)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "account"' 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 "action"' 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 "name"' 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 "actor"' 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 "data"' 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 "timestamp"' 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 "action_description"' 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
|
+
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::AuthCreateAccessTokenRequest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe DockerHub::AuthCreateAccessTokenRequest do
|
|
21
|
+
let(:instance) { DockerHub::AuthCreateAccessTokenRequest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of AuthCreateAccessTokenRequest' do
|
|
24
|
+
it 'should create an instance of AuthCreateAccessTokenRequest' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(DockerHub::AuthCreateAccessTokenRequest)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "identifier"' 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 "secret"' 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::AuthCreateTokenResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe DockerHub::AuthCreateTokenResponse do
|
|
21
|
+
let(:instance) { DockerHub::AuthCreateTokenResponse.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of AuthCreateTokenResponse' do
|
|
24
|
+
it 'should create an instance of AuthCreateTokenResponse' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(DockerHub::AuthCreateTokenResponse)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "access_token"' 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,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::BulkInviteInviteesInner
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe DockerHub::BulkInviteInviteesInner do
|
|
21
|
+
let(:instance) { DockerHub::BulkInviteInviteesInner.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of BulkInviteInviteesInner' do
|
|
24
|
+
it 'should create an instance of BulkInviteInviteesInner' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(DockerHub::BulkInviteInviteesInner)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "invitee"' 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 "status"' 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 "invite"' 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,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::BulkInvite
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe DockerHub::BulkInvite do
|
|
21
|
+
let(:instance) { DockerHub::BulkInvite.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of BulkInvite' do
|
|
24
|
+
it 'should create an instance of BulkInvite' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(DockerHub::BulkInvite)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "invitees"' 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,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::Category
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe DockerHub::Category do
|
|
21
|
+
let(:instance) { DockerHub::Category.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of Category' do
|
|
24
|
+
it 'should create an instance of Category' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(DockerHub::Category)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "name"' 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 "slug"' 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,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::CreateAccessTokenRequest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe DockerHub::CreateAccessTokenRequest do
|
|
21
|
+
let(:instance) { DockerHub::CreateAccessTokenRequest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreateAccessTokenRequest' do
|
|
24
|
+
it 'should create an instance of CreateAccessTokenRequest' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(DockerHub::CreateAccessTokenRequest)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "token_label"' 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 "scopes"' 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 "expires_at"' 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
|