pulpcore_client 3.28.30 → 3.28.31
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 +4 -4
- data/README.md +154 -156
- data/docs/AccessPoliciesApi.md +25 -25
- data/docs/ArtifactDistributionResponse.md +8 -8
- data/docs/ArtifactsApi.md +20 -20
- data/docs/ContentApi.md +5 -5
- data/docs/ContentguardsApi.md +5 -5
- data/docs/ContentguardsContentRedirectApi.md +50 -50
- data/docs/ContentguardsRbacApi.md +50 -50
- data/docs/DistributionsApi.md +5 -5
- data/docs/DistributionsArtifactsApi.md +10 -10
- data/docs/DomainsApi.md +30 -30
- data/docs/ExportersFilesystemApi.md +30 -30
- data/docs/ExportersFilesystemExportsApi.md +20 -20
- data/docs/ExportersPulpApi.md +30 -30
- data/docs/ExportersPulpExportsApi.md +20 -20
- data/docs/GroupsApi.md +50 -50
- data/docs/GroupsRolesApi.md +20 -20
- data/docs/GroupsUsersApi.md +15 -15
- data/docs/ImportersPulpApi.md +30 -30
- data/docs/ImportersPulpImportsApi.md +20 -20
- data/docs/OrphansApi.md +5 -5
- data/docs/OrphansCleanupApi.md +5 -5
- data/docs/PublicationsApi.md +5 -5
- data/docs/RemotesApi.md +5 -5
- data/docs/RepairApi.md +5 -5
- data/docs/RepositoriesApi.md +5 -5
- data/docs/RepositoriesReclaimSpaceApi.md +5 -5
- data/docs/RepositoryVersionsApi.md +5 -5
- data/docs/RolesApi.md +30 -30
- data/docs/SigningServicesApi.md +10 -10
- data/docs/TaskGroupsApi.md +10 -10
- data/docs/TaskSchedulesApi.md +30 -30
- data/docs/TasksApi.md +95 -95
- data/docs/UploadsApi.md +50 -50
- data/docs/UpstreamPulpsApi.md +35 -35
- data/docs/UsersApi.md +30 -30
- data/docs/UsersRolesApi.md +20 -20
- data/docs/WorkersApi.md +10 -10
- data/lib/pulpcore_client/api/access_policies_api.rb +31 -31
- data/lib/pulpcore_client/api/artifacts_api.rb +29 -29
- data/lib/pulpcore_client/api/content_api.rb +5 -5
- data/lib/pulpcore_client/api/contentguards_api.rb +5 -5
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +63 -63
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +63 -63
- data/lib/pulpcore_client/api/distributions_api.rb +5 -5
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +11 -11
- data/lib/pulpcore_client/api/domains_api.rb +37 -37
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +37 -37
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +25 -25
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +37 -37
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +25 -25
- data/lib/pulpcore_client/api/groups_api.rb +63 -63
- data/lib/pulpcore_client/api/groups_roles_api.rb +25 -25
- data/lib/pulpcore_client/api/groups_users_api.rb +19 -19
- data/lib/pulpcore_client/api/importers_pulp_api.rb +37 -37
- data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +25 -25
- data/lib/pulpcore_client/api/orphans_api.rb +5 -5
- data/lib/pulpcore_client/api/orphans_cleanup_api.rb +6 -6
- data/lib/pulpcore_client/api/publications_api.rb +5 -5
- data/lib/pulpcore_client/api/remotes_api.rb +5 -5
- data/lib/pulpcore_client/api/repair_api.rb +6 -6
- data/lib/pulpcore_client/api/repositories_api.rb +5 -5
- data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +6 -6
- data/lib/pulpcore_client/api/repository_versions_api.rb +5 -5
- data/lib/pulpcore_client/api/roles_api.rb +37 -37
- data/lib/pulpcore_client/api/signing_services_api.rb +11 -11
- data/lib/pulpcore_client/api/task_groups_api.rb +11 -11
- data/lib/pulpcore_client/api/task_schedules_api.rb +37 -37
- data/lib/pulpcore_client/api/tasks_api.rb +119 -119
- data/lib/pulpcore_client/api/uploads_api.rb +65 -65
- data/lib/pulpcore_client/api/upstream_pulps_api.rb +43 -43
- data/lib/pulpcore_client/api/users_api.rb +37 -37
- data/lib/pulpcore_client/api/users_roles_api.rb +25 -25
- data/lib/pulpcore_client/api/workers_api.rb +11 -11
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +31 -31
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +0 -2
- data/spec/api/access_policies_api_spec.rb +10 -10
- data/spec/api/artifacts_api_spec.rb +8 -8
- data/spec/api/content_api_spec.rb +2 -2
- data/spec/api/contentguards_api_spec.rb +2 -2
- data/spec/api/contentguards_content_redirect_api_spec.rb +20 -20
- data/spec/api/contentguards_rbac_api_spec.rb +20 -20
- data/spec/api/distributions_api_spec.rb +2 -2
- data/spec/api/distributions_artifacts_api_spec.rb +4 -4
- data/spec/api/domains_api_spec.rb +12 -12
- data/spec/api/exporters_filesystem_api_spec.rb +12 -12
- data/spec/api/exporters_filesystem_exports_api_spec.rb +8 -8
- data/spec/api/exporters_pulp_api_spec.rb +12 -12
- data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
- data/spec/api/groups_api_spec.rb +20 -20
- data/spec/api/groups_roles_api_spec.rb +8 -8
- data/spec/api/groups_users_api_spec.rb +6 -6
- data/spec/api/importers_pulp_api_spec.rb +12 -12
- data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
- data/spec/api/orphans_api_spec.rb +2 -2
- data/spec/api/orphans_cleanup_api_spec.rb +2 -2
- data/spec/api/publications_api_spec.rb +2 -2
- data/spec/api/remotes_api_spec.rb +2 -2
- data/spec/api/repair_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +2 -2
- data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
- data/spec/api/repository_versions_api_spec.rb +2 -2
- data/spec/api/roles_api_spec.rb +12 -12
- data/spec/api/signing_services_api_spec.rb +4 -4
- data/spec/api/task_groups_api_spec.rb +4 -4
- data/spec/api/task_schedules_api_spec.rb +12 -12
- data/spec/api/tasks_api_spec.rb +29 -29
- data/spec/api/uploads_api_spec.rb +20 -20
- data/spec/api/upstream_pulps_api_spec.rb +14 -14
- data/spec/api/users_api_spec.rb +12 -12
- data/spec/api/users_roles_api_spec.rb +8 -8
- data/spec/api/workers_api_spec.rb +4 -4
- data/spec/models/artifact_distribution_response_spec.rb +8 -8
- metadata +2 -10
- data/docs/DocsApiJsonApi.md +0 -61
- data/docs/DocsApiYamlApi.md +0 -61
- data/lib/pulpcore_client/api/docs_api_json_api.rb +0 -89
- data/lib/pulpcore_client/api/docs_api_yaml_api.rb +0 -89
- data/spec/api/docs_api_json_api_spec.rb +0 -48
- data/spec/api/docs_api_yaml_api_spec.rb +0 -48
data/docs/DocsApiYamlApi.md
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
# PulpcoreClient::DocsApiYamlApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *http://localhost:24817*
|
|
4
|
-
|
|
5
|
-
Method | HTTP request | Description
|
|
6
|
-
------------- | ------------- | -------------
|
|
7
|
-
[**docs_api_yaml_get**](DocsApiYamlApi.md#docs_api_yaml_get) | **GET** /pulp/api/v3/docs/api.yaml |
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
## docs_api_yaml_get
|
|
12
|
-
|
|
13
|
-
> Object docs_api_yaml_get(opts)
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
OpenApi3 schema for this API. Format can be selected via content negotiation. - YAML: application/vnd.oai.openapi - JSON: application/vnd.oai.openapi+json
|
|
18
|
-
|
|
19
|
-
### Example
|
|
20
|
-
|
|
21
|
-
```ruby
|
|
22
|
-
# load the gem
|
|
23
|
-
require 'pulpcore_client'
|
|
24
|
-
|
|
25
|
-
api_instance = PulpcoreClient::DocsApiYamlApi.new
|
|
26
|
-
opts = {
|
|
27
|
-
lang: 'lang_example', # String |
|
|
28
|
-
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
29
|
-
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
begin
|
|
33
|
-
result = api_instance.docs_api_yaml_get(opts)
|
|
34
|
-
p result
|
|
35
|
-
rescue PulpcoreClient::ApiError => e
|
|
36
|
-
puts "Exception when calling DocsApiYamlApi->docs_api_yaml_get: #{e}"
|
|
37
|
-
end
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
### Parameters
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
Name | Type | Description | Notes
|
|
44
|
-
------------- | ------------- | ------------- | -------------
|
|
45
|
-
**lang** | **String**| | [optional]
|
|
46
|
-
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
47
|
-
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
48
|
-
|
|
49
|
-
### Return type
|
|
50
|
-
|
|
51
|
-
**Object**
|
|
52
|
-
|
|
53
|
-
### Authorization
|
|
54
|
-
|
|
55
|
-
No authorization required
|
|
56
|
-
|
|
57
|
-
### HTTP request headers
|
|
58
|
-
|
|
59
|
-
- **Content-Type**: Not defined
|
|
60
|
-
- **Accept**: application/vnd.oai.openapi, application/yaml
|
|
61
|
-
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#Pulp 3 API
|
|
3
|
-
|
|
4
|
-
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: v3
|
|
7
|
-
Contact: pulp-list@redhat.com
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.3.1
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'cgi'
|
|
14
|
-
|
|
15
|
-
module PulpcoreClient
|
|
16
|
-
class DocsApiJsonApi
|
|
17
|
-
attr_accessor :api_client
|
|
18
|
-
|
|
19
|
-
def initialize(api_client = ApiClient.default)
|
|
20
|
-
@api_client = api_client
|
|
21
|
-
end
|
|
22
|
-
# OpenApi3 schema for this API. Format can be selected via content negotiation. - YAML: application/vnd.oai.openapi - JSON: application/vnd.oai.openapi+json
|
|
23
|
-
# @param [Hash] opts the optional parameters
|
|
24
|
-
# @option opts [String] :lang
|
|
25
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
26
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
27
|
-
# @return [Object]
|
|
28
|
-
def docs_api_json_get(opts = {})
|
|
29
|
-
data, _status_code, _headers = docs_api_json_get_with_http_info(opts)
|
|
30
|
-
data
|
|
31
|
-
end
|
|
32
|
-
|
|
33
|
-
# OpenApi3 schema for this API. Format can be selected via content negotiation. - YAML: application/vnd.oai.openapi - JSON: application/vnd.oai.openapi+json
|
|
34
|
-
# @param [Hash] opts the optional parameters
|
|
35
|
-
# @option opts [String] :lang
|
|
36
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
37
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
38
|
-
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
39
|
-
def docs_api_json_get_with_http_info(opts = {})
|
|
40
|
-
if @api_client.config.debugging
|
|
41
|
-
@api_client.config.logger.debug 'Calling API: DocsApiJsonApi.docs_api_json_get ...'
|
|
42
|
-
end
|
|
43
|
-
allowable_values = ["af", "ar", "ar-dz", "ast", "az", "be", "bg", "bn", "br", "bs", "ca", "ckb", "cs", "cy", "da", "de", "dsb", "el", "en", "en-au", "en-gb", "eo", "es", "es-ar", "es-co", "es-mx", "es-ni", "es-ve", "et", "eu", "fa", "fi", "fr", "fy", "ga", "gd", "gl", "he", "hi", "hr", "hsb", "hu", "hy", "ia", "id", "ig", "io", "is", "it", "ja", "ka", "kab", "kk", "km", "kn", "ko", "ky", "lb", "lt", "lv", "mk", "ml", "mn", "mr", "ms", "my", "nb", "ne", "nl", "nn", "os", "pa", "pl", "pt", "pt-br", "ro", "ru", "sk", "sl", "sq", "sr", "sr-latn", "sv", "sw", "ta", "te", "tg", "th", "tk", "tr", "tt", "udm", "uk", "ur", "uz", "vi", "zh-hans", "zh-hant"]
|
|
44
|
-
if @api_client.config.client_side_validation && opts[:'lang'] && !allowable_values.include?(opts[:'lang'])
|
|
45
|
-
fail ArgumentError, "invalid value for \"lang\", must be one of #{allowable_values}"
|
|
46
|
-
end
|
|
47
|
-
# resource path
|
|
48
|
-
local_var_path = '/pulp/api/v3/docs/api.json'
|
|
49
|
-
|
|
50
|
-
# query parameters
|
|
51
|
-
query_params = opts[:query_params] || {}
|
|
52
|
-
query_params[:'lang'] = opts[:'lang'] if !opts[:'lang'].nil?
|
|
53
|
-
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
54
|
-
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
55
|
-
|
|
56
|
-
# header parameters
|
|
57
|
-
header_params = opts[:header_params] || {}
|
|
58
|
-
# HTTP header 'Accept' (if needed)
|
|
59
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.oai.openapi+json', 'application/json'])
|
|
60
|
-
|
|
61
|
-
# form parameters
|
|
62
|
-
form_params = opts[:form_params] || {}
|
|
63
|
-
|
|
64
|
-
# http body (model)
|
|
65
|
-
post_body = opts[:body]
|
|
66
|
-
|
|
67
|
-
# return_type
|
|
68
|
-
return_type = opts[:return_type] || 'Object'
|
|
69
|
-
|
|
70
|
-
# auth_names
|
|
71
|
-
auth_names = opts[:auth_names] || []
|
|
72
|
-
|
|
73
|
-
new_options = opts.merge(
|
|
74
|
-
:header_params => header_params,
|
|
75
|
-
:query_params => query_params,
|
|
76
|
-
:form_params => form_params,
|
|
77
|
-
:body => post_body,
|
|
78
|
-
:auth_names => auth_names,
|
|
79
|
-
:return_type => return_type
|
|
80
|
-
)
|
|
81
|
-
|
|
82
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
83
|
-
if @api_client.config.debugging
|
|
84
|
-
@api_client.config.logger.debug "API called: DocsApiJsonApi#docs_api_json_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
85
|
-
end
|
|
86
|
-
return data, status_code, headers
|
|
87
|
-
end
|
|
88
|
-
end
|
|
89
|
-
end
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#Pulp 3 API
|
|
3
|
-
|
|
4
|
-
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: v3
|
|
7
|
-
Contact: pulp-list@redhat.com
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.3.1
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'cgi'
|
|
14
|
-
|
|
15
|
-
module PulpcoreClient
|
|
16
|
-
class DocsApiYamlApi
|
|
17
|
-
attr_accessor :api_client
|
|
18
|
-
|
|
19
|
-
def initialize(api_client = ApiClient.default)
|
|
20
|
-
@api_client = api_client
|
|
21
|
-
end
|
|
22
|
-
# OpenApi3 schema for this API. Format can be selected via content negotiation. - YAML: application/vnd.oai.openapi - JSON: application/vnd.oai.openapi+json
|
|
23
|
-
# @param [Hash] opts the optional parameters
|
|
24
|
-
# @option opts [String] :lang
|
|
25
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
26
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
27
|
-
# @return [Object]
|
|
28
|
-
def docs_api_yaml_get(opts = {})
|
|
29
|
-
data, _status_code, _headers = docs_api_yaml_get_with_http_info(opts)
|
|
30
|
-
data
|
|
31
|
-
end
|
|
32
|
-
|
|
33
|
-
# OpenApi3 schema for this API. Format can be selected via content negotiation. - YAML: application/vnd.oai.openapi - JSON: application/vnd.oai.openapi+json
|
|
34
|
-
# @param [Hash] opts the optional parameters
|
|
35
|
-
# @option opts [String] :lang
|
|
36
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
37
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
38
|
-
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
39
|
-
def docs_api_yaml_get_with_http_info(opts = {})
|
|
40
|
-
if @api_client.config.debugging
|
|
41
|
-
@api_client.config.logger.debug 'Calling API: DocsApiYamlApi.docs_api_yaml_get ...'
|
|
42
|
-
end
|
|
43
|
-
allowable_values = ["af", "ar", "ar-dz", "ast", "az", "be", "bg", "bn", "br", "bs", "ca", "ckb", "cs", "cy", "da", "de", "dsb", "el", "en", "en-au", "en-gb", "eo", "es", "es-ar", "es-co", "es-mx", "es-ni", "es-ve", "et", "eu", "fa", "fi", "fr", "fy", "ga", "gd", "gl", "he", "hi", "hr", "hsb", "hu", "hy", "ia", "id", "ig", "io", "is", "it", "ja", "ka", "kab", "kk", "km", "kn", "ko", "ky", "lb", "lt", "lv", "mk", "ml", "mn", "mr", "ms", "my", "nb", "ne", "nl", "nn", "os", "pa", "pl", "pt", "pt-br", "ro", "ru", "sk", "sl", "sq", "sr", "sr-latn", "sv", "sw", "ta", "te", "tg", "th", "tk", "tr", "tt", "udm", "uk", "ur", "uz", "vi", "zh-hans", "zh-hant"]
|
|
44
|
-
if @api_client.config.client_side_validation && opts[:'lang'] && !allowable_values.include?(opts[:'lang'])
|
|
45
|
-
fail ArgumentError, "invalid value for \"lang\", must be one of #{allowable_values}"
|
|
46
|
-
end
|
|
47
|
-
# resource path
|
|
48
|
-
local_var_path = '/pulp/api/v3/docs/api.yaml'
|
|
49
|
-
|
|
50
|
-
# query parameters
|
|
51
|
-
query_params = opts[:query_params] || {}
|
|
52
|
-
query_params[:'lang'] = opts[:'lang'] if !opts[:'lang'].nil?
|
|
53
|
-
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
54
|
-
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
55
|
-
|
|
56
|
-
# header parameters
|
|
57
|
-
header_params = opts[:header_params] || {}
|
|
58
|
-
# HTTP header 'Accept' (if needed)
|
|
59
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.oai.openapi', 'application/yaml'])
|
|
60
|
-
|
|
61
|
-
# form parameters
|
|
62
|
-
form_params = opts[:form_params] || {}
|
|
63
|
-
|
|
64
|
-
# http body (model)
|
|
65
|
-
post_body = opts[:body]
|
|
66
|
-
|
|
67
|
-
# return_type
|
|
68
|
-
return_type = opts[:return_type] || 'Object'
|
|
69
|
-
|
|
70
|
-
# auth_names
|
|
71
|
-
auth_names = opts[:auth_names] || []
|
|
72
|
-
|
|
73
|
-
new_options = opts.merge(
|
|
74
|
-
:header_params => header_params,
|
|
75
|
-
:query_params => query_params,
|
|
76
|
-
:form_params => form_params,
|
|
77
|
-
:body => post_body,
|
|
78
|
-
:auth_names => auth_names,
|
|
79
|
-
:return_type => return_type
|
|
80
|
-
)
|
|
81
|
-
|
|
82
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
83
|
-
if @api_client.config.debugging
|
|
84
|
-
@api_client.config.logger.debug "API called: DocsApiYamlApi#docs_api_yaml_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
85
|
-
end
|
|
86
|
-
return data, status_code, headers
|
|
87
|
-
end
|
|
88
|
-
end
|
|
89
|
-
end
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#Pulp 3 API
|
|
3
|
-
|
|
4
|
-
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: v3
|
|
7
|
-
Contact: pulp-list@redhat.com
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.3.1
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
|
|
16
|
-
# Unit tests for PulpcoreClient::DocsApiJsonApi
|
|
17
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
-
# Please update as you see appropriate
|
|
19
|
-
describe 'DocsApiJsonApi' do
|
|
20
|
-
before do
|
|
21
|
-
# run before each test
|
|
22
|
-
@api_instance = PulpcoreClient::DocsApiJsonApi.new
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
after do
|
|
26
|
-
# run after each test
|
|
27
|
-
end
|
|
28
|
-
|
|
29
|
-
describe 'test an instance of DocsApiJsonApi' do
|
|
30
|
-
it 'should create an instance of DocsApiJsonApi' do
|
|
31
|
-
expect(@api_instance).to be_instance_of(PulpcoreClient::DocsApiJsonApi)
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
|
|
35
|
-
# unit tests for docs_api_json_get
|
|
36
|
-
# OpenApi3 schema for this API. Format can be selected via content negotiation. - YAML: application/vnd.oai.openapi - JSON: application/vnd.oai.openapi+json
|
|
37
|
-
# @param [Hash] opts the optional parameters
|
|
38
|
-
# @option opts [String] :lang
|
|
39
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
40
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
41
|
-
# @return [Object]
|
|
42
|
-
describe 'docs_api_json_get test' do
|
|
43
|
-
it 'should work' do
|
|
44
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
|
|
48
|
-
end
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#Pulp 3 API
|
|
3
|
-
|
|
4
|
-
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: v3
|
|
7
|
-
Contact: pulp-list@redhat.com
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.3.1
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
|
|
16
|
-
# Unit tests for PulpcoreClient::DocsApiYamlApi
|
|
17
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
-
# Please update as you see appropriate
|
|
19
|
-
describe 'DocsApiYamlApi' do
|
|
20
|
-
before do
|
|
21
|
-
# run before each test
|
|
22
|
-
@api_instance = PulpcoreClient::DocsApiYamlApi.new
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
after do
|
|
26
|
-
# run after each test
|
|
27
|
-
end
|
|
28
|
-
|
|
29
|
-
describe 'test an instance of DocsApiYamlApi' do
|
|
30
|
-
it 'should create an instance of DocsApiYamlApi' do
|
|
31
|
-
expect(@api_instance).to be_instance_of(PulpcoreClient::DocsApiYamlApi)
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
|
|
35
|
-
# unit tests for docs_api_yaml_get
|
|
36
|
-
# OpenApi3 schema for this API. Format can be selected via content negotiation. - YAML: application/vnd.oai.openapi - JSON: application/vnd.oai.openapi+json
|
|
37
|
-
# @param [Hash] opts the optional parameters
|
|
38
|
-
# @option opts [String] :lang
|
|
39
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
40
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
41
|
-
# @return [Object]
|
|
42
|
-
describe 'docs_api_yaml_get test' do
|
|
43
|
-
it 'should work' do
|
|
44
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
|
|
48
|
-
end
|