From f90744a55ad34eac85b4396b10db3930007a8550 Mon Sep 17 00:00:00 2001 From: Dmitry S Date: Tue, 11 Jul 2023 19:06:50 +0200 Subject: [PATCH] fix 'certficate' typo, regen files Signed-off-by: Dmitry S --- openapi.yaml | 4 ++-- pkg/generated/client/timestamp/timestamp_client.go | 4 ++-- pkg/generated/restapi/embedded_spec.go | 8 ++++---- .../operations/timestamp/get_timestamp_cert_chain.go | 4 ++-- pkg/generated/restapi/operations/timestamp_server_api.go | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/openapi.yaml b/openapi.yaml index e97f8350..8431a947 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -57,8 +57,8 @@ paths: /api/v1/timestamp/certchain: get: - summary: Retrieve the certficate chain for timestamping that can be used to validate trusted timestamps - description: Returns the certficate chain for timestamping that can be used to validate trusted timestamps + summary: Retrieve the certificate chain for timestamping that can be used to validate trusted timestamps + description: Returns the certificate chain for timestamping that can be used to validate trusted timestamps operationId: getTimestampCertChain tags: - timestamp diff --git a/pkg/generated/client/timestamp/timestamp_client.go b/pkg/generated/client/timestamp/timestamp_client.go index 35d5bfde..d677b175 100644 --- a/pkg/generated/client/timestamp/timestamp_client.go +++ b/pkg/generated/client/timestamp/timestamp_client.go @@ -53,9 +53,9 @@ type ClientService interface { } /* -GetTimestampCertChain retrieves the certficate chain for timestamping that can be used to validate trusted timestamps +GetTimestampCertChain retrieves the certificate chain for timestamping that can be used to validate trusted timestamps -Returns the certficate chain for timestamping that can be used to validate trusted timestamps +Returns the certificate chain for timestamping that can be used to validate trusted timestamps */ func (a *Client) GetTimestampCertChain(params *GetTimestampCertChainParams, opts ...ClientOption) (*GetTimestampCertChainOK, error) { // TODO: Validate the params before sending diff --git a/pkg/generated/restapi/embedded_spec.go b/pkg/generated/restapi/embedded_spec.go index a042bb20..816c37a5 100644 --- a/pkg/generated/restapi/embedded_spec.go +++ b/pkg/generated/restapi/embedded_spec.go @@ -91,7 +91,7 @@ func init() { }, "/api/v1/timestamp/certchain": { "get": { - "description": "Returns the certficate chain for timestamping that can be used to validate trusted timestamps", + "description": "Returns the certificate chain for timestamping that can be used to validate trusted timestamps", "consumes": [ "application/json" ], @@ -101,7 +101,7 @@ func init() { "tags": [ "timestamp" ], - "summary": "Retrieve the certficate chain for timestamping that can be used to validate trusted timestamps", + "summary": "Retrieve the certificate chain for timestamping that can be used to validate trusted timestamps", "operationId": "getTimestampCertChain", "responses": { "200": { @@ -219,7 +219,7 @@ func init() { }, "/api/v1/timestamp/certchain": { "get": { - "description": "Returns the certficate chain for timestamping that can be used to validate trusted timestamps", + "description": "Returns the certificate chain for timestamping that can be used to validate trusted timestamps", "consumes": [ "application/json" ], @@ -229,7 +229,7 @@ func init() { "tags": [ "timestamp" ], - "summary": "Retrieve the certficate chain for timestamping that can be used to validate trusted timestamps", + "summary": "Retrieve the certificate chain for timestamping that can be used to validate trusted timestamps", "operationId": "getTimestampCertChain", "responses": { "200": { diff --git a/pkg/generated/restapi/operations/timestamp/get_timestamp_cert_chain.go b/pkg/generated/restapi/operations/timestamp/get_timestamp_cert_chain.go index 61b8b86f..dacff726 100644 --- a/pkg/generated/restapi/operations/timestamp/get_timestamp_cert_chain.go +++ b/pkg/generated/restapi/operations/timestamp/get_timestamp_cert_chain.go @@ -47,9 +47,9 @@ func NewGetTimestampCertChain(ctx *middleware.Context, handler GetTimestampCertC /* GetTimestampCertChain swagger:route GET /api/v1/timestamp/certchain timestamp getTimestampCertChain -# Retrieve the certficate chain for timestamping that can be used to validate trusted timestamps +# Retrieve the certificate chain for timestamping that can be used to validate trusted timestamps -Returns the certficate chain for timestamping that can be used to validate trusted timestamps +Returns the certificate chain for timestamping that can be used to validate trusted timestamps */ type GetTimestampCertChain struct { Context *middleware.Context diff --git a/pkg/generated/restapi/operations/timestamp_server_api.go b/pkg/generated/restapi/operations/timestamp_server_api.go index 87c210ed..1225a521 100644 --- a/pkg/generated/restapi/operations/timestamp_server_api.go +++ b/pkg/generated/restapi/operations/timestamp_server_api.go @@ -350,6 +350,6 @@ func (o *TimestampServerAPI) AddMiddlewareFor(method, path string, builder middl } o.Init() if h, ok := o.handlers[um][path]; ok { - o.handlers[method][path] = builder(h) + o.handlers[um][path] = builder(h) } }