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,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::V2Scim20UsersIdPutRequest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe DockerHub::V2Scim20UsersIdPutRequest do
|
|
21
|
+
let(:instance) { DockerHub::V2Scim20UsersIdPutRequest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of V2Scim20UsersIdPutRequest' do
|
|
24
|
+
it 'should create an instance of V2Scim20UsersIdPutRequest' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(DockerHub::V2Scim20UsersIdPutRequest)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "schemas"' 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 "name"' 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 "enabled"' 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,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::V2Scim20UsersPost409Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe DockerHub::V2Scim20UsersPost409Response do
|
|
21
|
+
let(:instance) { DockerHub::V2Scim20UsersPost409Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of V2Scim20UsersPost409Response' do
|
|
24
|
+
it 'should create an instance of V2Scim20UsersPost409Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(DockerHub::V2Scim20UsersPost409Response)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "status"' 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 "schemas"' 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 "detail"' 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,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::V2Scim20UsersPostRequest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe DockerHub::V2Scim20UsersPostRequest do
|
|
21
|
+
let(:instance) { DockerHub::V2Scim20UsersPostRequest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of V2Scim20UsersPostRequest' do
|
|
24
|
+
it 'should create an instance of V2Scim20UsersPostRequest' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(DockerHub::V2Scim20UsersPostRequest)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "schemas"' 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_name"' 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
|
+
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::ValueError
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe DockerHub::ValueError do
|
|
21
|
+
let(:instance) { DockerHub::ValueError.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ValueError' do
|
|
24
|
+
it 'should create an instance of ValueError' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(DockerHub::ValueError)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "fields"' 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 "text"' 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
|
data/spec/spec_helper.rb
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
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
|
+
# load the gem
|
|
14
|
+
require 'docker-hub'
|
|
15
|
+
|
|
16
|
+
# The following was generated by the `rspec --init` command. Conventionally, all
|
|
17
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
|
18
|
+
# The generated `.rspec` file contains `--require spec_helper` which will cause
|
|
19
|
+
# this file to always be loaded, without a need to explicitly require it in any
|
|
20
|
+
# files.
|
|
21
|
+
#
|
|
22
|
+
# Given that it is always loaded, you are encouraged to keep this file as
|
|
23
|
+
# light-weight as possible. Requiring heavyweight dependencies from this file
|
|
24
|
+
# will add to the boot time of your test suite on EVERY test run, even for an
|
|
25
|
+
# individual file that may not need all of that loaded. Instead, consider making
|
|
26
|
+
# a separate helper file that requires the additional dependencies and performs
|
|
27
|
+
# the additional setup, and require it from the spec files that actually need
|
|
28
|
+
# it.
|
|
29
|
+
#
|
|
30
|
+
# The `.rspec` file also contains a few flags that are not defaults but that
|
|
31
|
+
# users commonly want.
|
|
32
|
+
#
|
|
33
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
|
34
|
+
RSpec.configure do |config|
|
|
35
|
+
# rspec-expectations config goes here. You can use an alternate
|
|
36
|
+
# assertion/expectation library such as wrong or the stdlib/minitest
|
|
37
|
+
# assertions if you prefer.
|
|
38
|
+
config.expect_with :rspec do |expectations|
|
|
39
|
+
# This option will default to `true` in RSpec 4. It makes the `description`
|
|
40
|
+
# and `failure_message` of custom matchers include text for helper methods
|
|
41
|
+
# defined using `chain`, e.g.:
|
|
42
|
+
# be_bigger_than(2).and_smaller_than(4).description
|
|
43
|
+
# # => "be bigger than 2 and smaller than 4"
|
|
44
|
+
# ...rather than:
|
|
45
|
+
# # => "be bigger than 2"
|
|
46
|
+
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# rspec-mocks config goes here. You can use an alternate test double
|
|
50
|
+
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
|
51
|
+
config.mock_with :rspec do |mocks|
|
|
52
|
+
# Prevents you from mocking or stubbing a method that does not exist on
|
|
53
|
+
# a real object. This is generally recommended, and will default to
|
|
54
|
+
# `true` in RSpec 4.
|
|
55
|
+
mocks.verify_partial_doubles = true
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# The settings below are suggested to provide a good initial experience
|
|
59
|
+
# with RSpec, but feel free to customize to your heart's content.
|
|
60
|
+
=begin
|
|
61
|
+
# These two settings work together to allow you to limit a spec run
|
|
62
|
+
# to individual examples or groups you care about by tagging them with
|
|
63
|
+
# `:focus` metadata. When nothing is tagged with `:focus`, all examples
|
|
64
|
+
# get run.
|
|
65
|
+
config.filter_run :focus
|
|
66
|
+
config.run_all_when_everything_filtered = true
|
|
67
|
+
|
|
68
|
+
# Allows RSpec to persist some state between runs in order to support
|
|
69
|
+
# the `--only-failures` and `--next-failure` CLI options. We recommend
|
|
70
|
+
# you configure your source control system to ignore this file.
|
|
71
|
+
config.example_status_persistence_file_path = "spec/examples.txt"
|
|
72
|
+
|
|
73
|
+
# Limits the available syntax to the non-monkey patched syntax that is
|
|
74
|
+
# recommended. For more details, see:
|
|
75
|
+
# - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
|
|
76
|
+
# - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
|
77
|
+
# - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
|
|
78
|
+
config.disable_monkey_patching!
|
|
79
|
+
|
|
80
|
+
# This setting enables warnings. It's recommended, but in some cases may
|
|
81
|
+
# be too noisy due to issues in dependencies.
|
|
82
|
+
config.warnings = true
|
|
83
|
+
|
|
84
|
+
# Many RSpec users commonly either run the entire suite or an individual
|
|
85
|
+
# file, and it's useful to allow more verbose output when running an
|
|
86
|
+
# individual spec file.
|
|
87
|
+
if config.files_to_run.one?
|
|
88
|
+
# Use the documentation formatter for detailed output,
|
|
89
|
+
# unless a formatter has already been configured
|
|
90
|
+
# (e.g. via a command-line flag).
|
|
91
|
+
config.default_formatter = 'doc'
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
# Print the 10 slowest examples and example groups at the
|
|
95
|
+
# end of the spec run, to help surface which specs are running
|
|
96
|
+
# particularly slow.
|
|
97
|
+
config.profile_examples = 10
|
|
98
|
+
|
|
99
|
+
# Run specs in random order to surface order dependencies. If you find an
|
|
100
|
+
# order dependency and want to debug it, you can fix the order by providing
|
|
101
|
+
# the seed, which is printed after each run.
|
|
102
|
+
# --seed 1234
|
|
103
|
+
config.order = :random
|
|
104
|
+
|
|
105
|
+
# Seed global randomization in this process using the `--seed` CLI option.
|
|
106
|
+
# Setting this allows you to use `--seed` to deterministically reproduce
|
|
107
|
+
# test failures related to randomization by passing the same `--seed` value
|
|
108
|
+
# as the one that triggered the failure.
|
|
109
|
+
Kernel.srand config.seed
|
|
110
|
+
=end
|
|
111
|
+
end
|