diff --git a/client/README.md b/client/README.md index 8054fbd..d0ae541 100644 --- a/client/README.md +++ b/client/README.md @@ -32,7 +32,7 @@ All URIs are relative to *http://localhost* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- -*DefaultApi* | [**EjctVirtualMedia**](docs/DefaultApi.md#ejctvirtualmedia) | **Post** /redfish/v1/Managers/{managerId}/VirtualMedia/{virtualMediaId}/Actions/VirtualMedia.EjectMedia | +*DefaultApi* | [**EjectVirtualMedia**](docs/DefaultApi.md#ejectvirtualmedia) | **Post** /redfish/v1/Managers/{managerId}/VirtualMedia/{virtualMediaId}/Actions/VirtualMedia.EjectMedia | *DefaultApi* | [**GetManager**](docs/DefaultApi.md#getmanager) | **Get** /redfish/v1/Managers/{managerId} | *DefaultApi* | [**GetManagerVirtualMedia**](docs/DefaultApi.md#getmanagervirtualmedia) | **Get** /redfish/v1/Managers/{managerId}/VirtualMedia/{virtualMediaId} | *DefaultApi* | [**GetRoot**](docs/DefaultApi.md#getroot) | **Get** /redfish/v1 | diff --git a/client/api/openapi.yaml b/client/api/openapi.yaml index 4b64c64..c04453d 100644 --- a/client/api/openapi.yaml +++ b/client/api/openapi.yaml @@ -249,7 +249,7 @@ paths: description: Error condition /redfish/v1/Managers/{managerId}/VirtualMedia/{virtualMediaId}/Actions/VirtualMedia.EjectMedia: post: - operationId: ejct_virtual_media + operationId: eject_virtual_media parameters: - description: ID of resource explode: false @@ -271,8 +271,7 @@ paths: content: application/json: schema: - properties: {} - type: object + $ref: '#/components/schemas/EjectMediaRequestBody' required: true responses: 200: @@ -1104,6 +1103,10 @@ components: required: - Image type: object + EjectMediaRequestBody: + additionalProperties: false + properties: {} + type: object RedfishError_error: example: '@Message.ExtendedInfo': diff --git a/client/api_default.go b/client/api_default.go index c4922ef..a66b3af 100644 --- a/client/api_default.go +++ b/client/api_default.go @@ -33,7 +33,7 @@ DefaultApiService * @param body @return RedfishError */ -func (a *DefaultApiService) EjctVirtualMedia(ctx _context.Context, managerId string, virtualMediaId string, body map[string]interface{}) (RedfishError, *_nethttp.Response, error) { +func (a *DefaultApiService) EjectVirtualMedia(ctx _context.Context, managerId string, virtualMediaId string, body map[string]interface{}) (RedfishError, *_nethttp.Response, error) { var ( localVarHttpMethod = _nethttp.MethodPost localVarPostBody interface{} diff --git a/client/docs/DefaultApi.md b/client/docs/DefaultApi.md index 80c92d0..a83b18b 100644 --- a/client/docs/DefaultApi.md +++ b/client/docs/DefaultApi.md @@ -4,7 +4,7 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**EjctVirtualMedia**](DefaultApi.md#EjctVirtualMedia) | **Post** /redfish/v1/Managers/{managerId}/VirtualMedia/{virtualMediaId}/Actions/VirtualMedia.EjectMedia | +[**EjectVirtualMedia**](DefaultApi.md#EjectVirtualMedia) | **Post** /redfish/v1/Managers/{managerId}/VirtualMedia/{virtualMediaId}/Actions/VirtualMedia.EjectMedia | [**GetManager**](DefaultApi.md#GetManager) | **Get** /redfish/v1/Managers/{managerId} | [**GetManagerVirtualMedia**](DefaultApi.md#GetManagerVirtualMedia) | **Get** /redfish/v1/Managers/{managerId}/VirtualMedia/{virtualMediaId} | [**GetRoot**](DefaultApi.md#GetRoot) | **Get** /redfish/v1 | @@ -18,9 +18,9 @@ Method | HTTP request | Description -## EjctVirtualMedia +## EjectVirtualMedia -> RedfishError EjctVirtualMedia(ctx, managerId, virtualMediaId, body) +> RedfishError EjectVirtualMedia(ctx, managerId, virtualMediaId, body) ### Required Parameters diff --git a/spec/openapi.yaml b/spec/openapi.yaml index b953cef..a5df3be 100644 --- a/spec/openapi.yaml +++ b/spec/openapi.yaml @@ -599,6 +599,10 @@ components: required: - Image type: object + EjectMediaRequestBody: + additionalProperties: false + properties: {} + type: object paths: /redfish/v1: get: @@ -821,13 +825,12 @@ paths: type: string /redfish/v1/Managers/{managerId}/VirtualMedia/{virtualMediaId}/Actions/VirtualMedia.EjectMedia: post: - operationId: ejct_virtual_media + operationId: eject_virtual_media requestBody: content: application/json: schema: - type: object - properties: {} + $ref: '#/components/schemas/EjectMediaRequestBody' required: true responses: '200':