From 60a24e8e792e20c7c9c73a8412f58a75ba2f4b10 Mon Sep 17 00:00:00 2001 From: Red Hat Application Services CI <84090353+app-services-ci@users.noreply.github.com> Date: Thu, 28 Jul 2022 10:12:36 +0100 Subject: [PATCH] chore(all): re-generate OpenAPI client(s) (#545) Co-authored-by: app-services-ci --- registryinstance/apiv1internal/client/api/openapi.yaml | 6 +++--- registryinstance/apiv1internal/client/api_artifacts.go | 4 ++-- registryinstance/apiv1internal/client/api_versions.go | 2 +- registryinstance/apiv1internal/client/docs/ArtifactsApi.md | 4 ++-- registryinstance/apiv1internal/client/docs/VersionsApi.md | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/registryinstance/apiv1internal/client/api/openapi.yaml b/registryinstance/apiv1internal/client/api/openapi.yaml index d994422b..13eac4e8 100644 --- a/registryinstance/apiv1internal/client/api/openapi.yaml +++ b/registryinstance/apiv1internal/client/api/openapi.yaml @@ -2845,7 +2845,7 @@ paths: property-1: value1 property-2: true schema: {} - application/create.extended+json: + application/json: schema: $ref: '#/components/schemas/ContentCreateRequest' description: | @@ -3194,7 +3194,7 @@ paths: property-1: value1 property-2: true schema: {} - application/create.extended+json: + application/json: schema: $ref: '#/components/schemas/ContentCreateRequest' description: | @@ -3576,7 +3576,7 @@ paths: property-1: value1 property-2: true schema: {} - application/create.extended+json: + application/json: schema: $ref: '#/components/schemas/ContentCreateRequest' description: | diff --git a/registryinstance/apiv1internal/client/api_artifacts.go b/registryinstance/apiv1internal/client/api_artifacts.go index f1eb4474..28fbe8e4 100644 --- a/registryinstance/apiv1internal/client/api_artifacts.go +++ b/registryinstance/apiv1internal/client/api_artifacts.go @@ -513,7 +513,7 @@ func (a *ArtifactsApiService) CreateArtifactExecute(r ApiCreateArtifactRequest) localVarQueryParams.Add("canonical", parameterToString(*r.canonical, "")) } // to determine the Content-Type header - localVarHTTPContentTypes := []string{"application/create.extended+json"} + localVarHTTPContentTypes := []string{"application/json"} // set Content-Type header localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) @@ -1978,7 +1978,7 @@ func (a *ArtifactsApiService) UpdateArtifactExecute(r ApiUpdateArtifactRequest) } // to determine the Content-Type header - localVarHTTPContentTypes := []string{"application/create.extended+json"} + localVarHTTPContentTypes := []string{"application/json"} // set Content-Type header localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) diff --git a/registryinstance/apiv1internal/client/api_versions.go b/registryinstance/apiv1internal/client/api_versions.go index a7041426..f14d4309 100644 --- a/registryinstance/apiv1internal/client/api_versions.go +++ b/registryinstance/apiv1internal/client/api_versions.go @@ -268,7 +268,7 @@ func (a *VersionsApiService) CreateArtifactVersionExecute(r ApiCreateArtifactVer } // to determine the Content-Type header - localVarHTTPContentTypes := []string{"application/create.extended+json"} + localVarHTTPContentTypes := []string{"application/json"} // set Content-Type header localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) diff --git a/registryinstance/apiv1internal/client/docs/ArtifactsApi.md b/registryinstance/apiv1internal/client/docs/ArtifactsApi.md index eacec3d1..abe7de6e 100644 --- a/registryinstance/apiv1internal/client/docs/ArtifactsApi.md +++ b/registryinstance/apiv1internal/client/docs/ArtifactsApi.md @@ -102,7 +102,7 @@ No authorization required ### HTTP request headers -- **Content-Type**: application/create.extended+json +- **Content-Type**: application/json - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) @@ -901,7 +901,7 @@ No authorization required ### HTTP request headers -- **Content-Type**: application/create.extended+json +- **Content-Type**: application/json - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) diff --git a/registryinstance/apiv1internal/client/docs/VersionsApi.md b/registryinstance/apiv1internal/client/docs/VersionsApi.md index e4162247..1e86de39 100644 --- a/registryinstance/apiv1internal/client/docs/VersionsApi.md +++ b/registryinstance/apiv1internal/client/docs/VersionsApi.md @@ -89,7 +89,7 @@ No authorization required ### HTTP request headers -- **Content-Type**: application/create.extended+json +- **Content-Type**: application/json - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)