diff --git a/pkg/generated/client/entries/create_log_entry_parameters.go b/pkg/generated/client/entries/create_log_entry_parameters.go index 481fa2bda..c5ccd2128 100644 --- a/pkg/generated/client/entries/create_log_entry_parameters.go +++ b/pkg/generated/client/entries/create_log_entry_parameters.go @@ -70,12 +70,10 @@ func NewCreateLogEntryParamsWithHTTPClient(client *http.Client) *CreateLogEntryP } } -/* -CreateLogEntryParams contains all the parameters to send to the API endpoint +/* CreateLogEntryParams contains all the parameters to send to the API endpoint + for the create log entry operation. - for the create log entry operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type CreateLogEntryParams struct { diff --git a/pkg/generated/client/entries/create_log_entry_responses.go b/pkg/generated/client/entries/create_log_entry_responses.go index e0e3ee156..135bf9ca7 100644 --- a/pkg/generated/client/entries/create_log_entry_responses.go +++ b/pkg/generated/client/entries/create_log_entry_responses.go @@ -75,8 +75,7 @@ func NewCreateLogEntryCreated() *CreateLogEntryCreated { return &CreateLogEntryCreated{} } -/* -CreateLogEntryCreated describes a response with status code 201, with default header values. +/* CreateLogEntryCreated describes a response with status code 201, with default header values. Returns the entry created in the transparency log */ @@ -135,8 +134,7 @@ func NewCreateLogEntryBadRequest() *CreateLogEntryBadRequest { return &CreateLogEntryBadRequest{} } -/* -CreateLogEntryBadRequest describes a response with status code 400, with default header values. +/* CreateLogEntryBadRequest describes a response with status code 400, with default header values. The content supplied to the server was invalid */ @@ -168,8 +166,7 @@ func NewCreateLogEntryConflict() *CreateLogEntryConflict { return &CreateLogEntryConflict{} } -/* -CreateLogEntryConflict describes a response with status code 409, with default header values. +/* CreateLogEntryConflict describes a response with status code 409, with default header values. The request conflicts with the current state of the transparency log */ @@ -216,8 +213,7 @@ func NewCreateLogEntryDefault(code int) *CreateLogEntryDefault { } } -/* -CreateLogEntryDefault describes a response with status code -1, with default header values. +/* CreateLogEntryDefault describes a response with status code -1, with default header values. There was an internal error in the server while processing the request */ diff --git a/pkg/generated/client/entries/entries_client.go b/pkg/generated/client/entries/entries_client.go index fe2630eaf..05c6abb92 100644 --- a/pkg/generated/client/entries/entries_client.go +++ b/pkg/generated/client/entries/entries_client.go @@ -56,9 +56,10 @@ type ClientService interface { } /* -CreateLogEntry creates an entry in the transparency log + CreateLogEntry creates an entry in the transparency log + + Creates an entry in the transparency log for a detached signature, public key, and content. Items can be included in the request or fetched by the server when URLs are specified. -Creates an entry in the transparency log for a detached signature, public key, and content. Items can be included in the request or fetched by the server when URLs are specified. */ func (a *Client) CreateLogEntry(params *CreateLogEntryParams, opts ...ClientOption) (*CreateLogEntryCreated, error) { // TODO: Validate the params before sending @@ -95,7 +96,7 @@ func (a *Client) CreateLogEntry(params *CreateLogEntryParams, opts ...ClientOpti } /* -GetLogEntryByIndex retrieves an entry and inclusion proof from the transparency log if it exists by index + GetLogEntryByIndex retrieves an entry and inclusion proof from the transparency log if it exists by index */ func (a *Client) GetLogEntryByIndex(params *GetLogEntryByIndexParams, opts ...ClientOption) (*GetLogEntryByIndexOK, error) { // TODO: Validate the params before sending @@ -132,9 +133,9 @@ func (a *Client) GetLogEntryByIndex(params *GetLogEntryByIndexParams, opts ...Cl } /* -GetLogEntryByUUID gets log entry and information required to generate an inclusion proof for the entry in the transparency log + GetLogEntryByUUID gets log entry and information required to generate an inclusion proof for the entry in the transparency log -Returns the entry, root hash, tree size, and a list of hashes that can be used to calculate proof of an entry being included in the transparency log + Returns the entry, root hash, tree size, and a list of hashes that can be used to calculate proof of an entry being included in the transparency log */ func (a *Client) GetLogEntryByUUID(params *GetLogEntryByUUIDParams, opts ...ClientOption) (*GetLogEntryByUUIDOK, error) { // TODO: Validate the params before sending @@ -171,7 +172,7 @@ func (a *Client) GetLogEntryByUUID(params *GetLogEntryByUUIDParams, opts ...Clie } /* -SearchLogQuery searches transparency log for one or more log entries + SearchLogQuery searches transparency log for one or more log entries */ func (a *Client) SearchLogQuery(params *SearchLogQueryParams, opts ...ClientOption) (*SearchLogQueryOK, error) { // TODO: Validate the params before sending diff --git a/pkg/generated/client/entries/get_log_entry_by_index_parameters.go b/pkg/generated/client/entries/get_log_entry_by_index_parameters.go index e22522751..405dee67c 100644 --- a/pkg/generated/client/entries/get_log_entry_by_index_parameters.go +++ b/pkg/generated/client/entries/get_log_entry_by_index_parameters.go @@ -69,12 +69,10 @@ func NewGetLogEntryByIndexParamsWithHTTPClient(client *http.Client) *GetLogEntry } } -/* -GetLogEntryByIndexParams contains all the parameters to send to the API endpoint +/* GetLogEntryByIndexParams contains all the parameters to send to the API endpoint + for the get log entry by index operation. - for the get log entry by index operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetLogEntryByIndexParams struct { diff --git a/pkg/generated/client/entries/get_log_entry_by_index_responses.go b/pkg/generated/client/entries/get_log_entry_by_index_responses.go index fd8419e17..8b510fcad 100644 --- a/pkg/generated/client/entries/get_log_entry_by_index_responses.go +++ b/pkg/generated/client/entries/get_log_entry_by_index_responses.go @@ -68,8 +68,7 @@ func NewGetLogEntryByIndexOK() *GetLogEntryByIndexOK { return &GetLogEntryByIndexOK{} } -/* -GetLogEntryByIndexOK describes a response with status code 200, with default header values. +/* GetLogEntryByIndexOK describes a response with status code 200, with default header values. the entry in the transparency log requested along with an inclusion proof */ @@ -99,8 +98,7 @@ func NewGetLogEntryByIndexNotFound() *GetLogEntryByIndexNotFound { return &GetLogEntryByIndexNotFound{} } -/* -GetLogEntryByIndexNotFound describes a response with status code 404, with default header values. +/* GetLogEntryByIndexNotFound describes a response with status code 404, with default header values. The content requested could not be found */ @@ -123,8 +121,7 @@ func NewGetLogEntryByIndexDefault(code int) *GetLogEntryByIndexDefault { } } -/* -GetLogEntryByIndexDefault describes a response with status code -1, with default header values. +/* GetLogEntryByIndexDefault describes a response with status code -1, with default header values. There was an internal error in the server while processing the request */ diff --git a/pkg/generated/client/entries/get_log_entry_by_uuid_parameters.go b/pkg/generated/client/entries/get_log_entry_by_uuid_parameters.go index 5c88b5265..560bee016 100644 --- a/pkg/generated/client/entries/get_log_entry_by_uuid_parameters.go +++ b/pkg/generated/client/entries/get_log_entry_by_uuid_parameters.go @@ -68,12 +68,10 @@ func NewGetLogEntryByUUIDParamsWithHTTPClient(client *http.Client) *GetLogEntryB } } -/* -GetLogEntryByUUIDParams contains all the parameters to send to the API endpoint +/* GetLogEntryByUUIDParams contains all the parameters to send to the API endpoint + for the get log entry by UUID operation. - for the get log entry by UUID operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetLogEntryByUUIDParams struct { diff --git a/pkg/generated/client/entries/get_log_entry_by_uuid_responses.go b/pkg/generated/client/entries/get_log_entry_by_uuid_responses.go index 2f800f38a..9d46b2fa4 100644 --- a/pkg/generated/client/entries/get_log_entry_by_uuid_responses.go +++ b/pkg/generated/client/entries/get_log_entry_by_uuid_responses.go @@ -68,8 +68,7 @@ func NewGetLogEntryByUUIDOK() *GetLogEntryByUUIDOK { return &GetLogEntryByUUIDOK{} } -/* -GetLogEntryByUUIDOK describes a response with status code 200, with default header values. +/* GetLogEntryByUUIDOK describes a response with status code 200, with default header values. Information needed for a client to compute the inclusion proof */ @@ -99,8 +98,7 @@ func NewGetLogEntryByUUIDNotFound() *GetLogEntryByUUIDNotFound { return &GetLogEntryByUUIDNotFound{} } -/* -GetLogEntryByUUIDNotFound describes a response with status code 404, with default header values. +/* GetLogEntryByUUIDNotFound describes a response with status code 404, with default header values. The content requested could not be found */ @@ -123,8 +121,7 @@ func NewGetLogEntryByUUIDDefault(code int) *GetLogEntryByUUIDDefault { } } -/* -GetLogEntryByUUIDDefault describes a response with status code -1, with default header values. +/* GetLogEntryByUUIDDefault describes a response with status code -1, with default header values. There was an internal error in the server while processing the request */ diff --git a/pkg/generated/client/entries/search_log_query_parameters.go b/pkg/generated/client/entries/search_log_query_parameters.go index ed158ce23..459f1208e 100644 --- a/pkg/generated/client/entries/search_log_query_parameters.go +++ b/pkg/generated/client/entries/search_log_query_parameters.go @@ -70,12 +70,10 @@ func NewSearchLogQueryParamsWithHTTPClient(client *http.Client) *SearchLogQueryP } } -/* -SearchLogQueryParams contains all the parameters to send to the API endpoint +/* SearchLogQueryParams contains all the parameters to send to the API endpoint + for the search log query operation. - for the search log query operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type SearchLogQueryParams struct { diff --git a/pkg/generated/client/entries/search_log_query_responses.go b/pkg/generated/client/entries/search_log_query_responses.go index 6107ec807..c459c0cce 100644 --- a/pkg/generated/client/entries/search_log_query_responses.go +++ b/pkg/generated/client/entries/search_log_query_responses.go @@ -68,8 +68,7 @@ func NewSearchLogQueryOK() *SearchLogQueryOK { return &SearchLogQueryOK{} } -/* -SearchLogQueryOK describes a response with status code 200, with default header values. +/* SearchLogQueryOK describes a response with status code 200, with default header values. Returns zero or more entries from the transparency log, according to how many were included in request query */ @@ -99,8 +98,7 @@ func NewSearchLogQueryBadRequest() *SearchLogQueryBadRequest { return &SearchLogQueryBadRequest{} } -/* -SearchLogQueryBadRequest describes a response with status code 400, with default header values. +/* SearchLogQueryBadRequest describes a response with status code 400, with default header values. The content supplied to the server was invalid */ @@ -134,8 +132,7 @@ func NewSearchLogQueryDefault(code int) *SearchLogQueryDefault { } } -/* -SearchLogQueryDefault describes a response with status code -1, with default header values. +/* SearchLogQueryDefault describes a response with status code -1, with default header values. There was an internal error in the server while processing the request */ diff --git a/pkg/generated/client/index/index_client.go b/pkg/generated/client/index/index_client.go index 35964c0d6..f80b04afb 100644 --- a/pkg/generated/client/index/index_client.go +++ b/pkg/generated/client/index/index_client.go @@ -50,7 +50,7 @@ type ClientService interface { } /* -SearchIndex searches index by entry metadata + SearchIndex searches index by entry metadata */ func (a *Client) SearchIndex(params *SearchIndexParams, opts ...ClientOption) (*SearchIndexOK, error) { // TODO: Validate the params before sending diff --git a/pkg/generated/client/index/search_index_parameters.go b/pkg/generated/client/index/search_index_parameters.go index c1694193e..d54879b0f 100644 --- a/pkg/generated/client/index/search_index_parameters.go +++ b/pkg/generated/client/index/search_index_parameters.go @@ -70,12 +70,10 @@ func NewSearchIndexParamsWithHTTPClient(client *http.Client) *SearchIndexParams } } -/* -SearchIndexParams contains all the parameters to send to the API endpoint +/* SearchIndexParams contains all the parameters to send to the API endpoint + for the search index operation. - for the search index operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type SearchIndexParams struct { diff --git a/pkg/generated/client/index/search_index_responses.go b/pkg/generated/client/index/search_index_responses.go index 34d4d9712..587a93817 100644 --- a/pkg/generated/client/index/search_index_responses.go +++ b/pkg/generated/client/index/search_index_responses.go @@ -68,8 +68,7 @@ func NewSearchIndexOK() *SearchIndexOK { return &SearchIndexOK{} } -/* -SearchIndexOK describes a response with status code 200, with default header values. +/* SearchIndexOK describes a response with status code 200, with default header values. Returns zero or more entry UUIDs from the transparency log based on search query */ @@ -99,8 +98,7 @@ func NewSearchIndexBadRequest() *SearchIndexBadRequest { return &SearchIndexBadRequest{} } -/* -SearchIndexBadRequest describes a response with status code 400, with default header values. +/* SearchIndexBadRequest describes a response with status code 400, with default header values. The content supplied to the server was invalid */ @@ -134,8 +132,7 @@ func NewSearchIndexDefault(code int) *SearchIndexDefault { } } -/* -SearchIndexDefault describes a response with status code -1, with default header values. +/* SearchIndexDefault describes a response with status code -1, with default header values. There was an internal error in the server while processing the request */ diff --git a/pkg/generated/client/pubkey/get_public_key_parameters.go b/pkg/generated/client/pubkey/get_public_key_parameters.go index b4248c933..d878ea00d 100644 --- a/pkg/generated/client/pubkey/get_public_key_parameters.go +++ b/pkg/generated/client/pubkey/get_public_key_parameters.go @@ -68,12 +68,10 @@ func NewGetPublicKeyParamsWithHTTPClient(client *http.Client) *GetPublicKeyParam } } -/* -GetPublicKeyParams contains all the parameters to send to the API endpoint +/* GetPublicKeyParams contains all the parameters to send to the API endpoint + for the get public key operation. - for the get public key operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetPublicKeyParams struct { diff --git a/pkg/generated/client/pubkey/get_public_key_responses.go b/pkg/generated/client/pubkey/get_public_key_responses.go index babe73ca0..10f69739f 100644 --- a/pkg/generated/client/pubkey/get_public_key_responses.go +++ b/pkg/generated/client/pubkey/get_public_key_responses.go @@ -62,8 +62,7 @@ func NewGetPublicKeyOK() *GetPublicKeyOK { return &GetPublicKeyOK{} } -/* -GetPublicKeyOK describes a response with status code 200, with default header values. +/* GetPublicKeyOK describes a response with status code 200, with default header values. The public key */ @@ -95,8 +94,7 @@ func NewGetPublicKeyDefault(code int) *GetPublicKeyDefault { } } -/* -GetPublicKeyDefault describes a response with status code -1, with default header values. +/* GetPublicKeyDefault describes a response with status code -1, with default header values. There was an internal error in the server while processing the request */ diff --git a/pkg/generated/client/pubkey/pubkey_client.go b/pkg/generated/client/pubkey/pubkey_client.go index 714d2de26..0f780ad9b 100644 --- a/pkg/generated/client/pubkey/pubkey_client.go +++ b/pkg/generated/client/pubkey/pubkey_client.go @@ -50,9 +50,9 @@ type ClientService interface { } /* -GetPublicKey retrieves the public key that can be used to validate the signed tree head + GetPublicKey retrieves the public key that can be used to validate the signed tree head -Returns the public key that can be used to validate the signed tree head + Returns the public key that can be used to validate the signed tree head */ func (a *Client) GetPublicKey(params *GetPublicKeyParams, opts ...ClientOption) (*GetPublicKeyOK, error) { // TODO: Validate the params before sending diff --git a/pkg/generated/client/server/get_rekor_version_parameters.go b/pkg/generated/client/server/get_rekor_version_parameters.go index fd4e30c2b..419217f70 100644 --- a/pkg/generated/client/server/get_rekor_version_parameters.go +++ b/pkg/generated/client/server/get_rekor_version_parameters.go @@ -68,12 +68,10 @@ func NewGetRekorVersionParamsWithHTTPClient(client *http.Client) *GetRekorVersio } } -/* -GetRekorVersionParams contains all the parameters to send to the API endpoint +/* GetRekorVersionParams contains all the parameters to send to the API endpoint + for the get rekor version operation. - for the get rekor version operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetRekorVersionParams struct { timeout time.Duration diff --git a/pkg/generated/client/server/get_rekor_version_responses.go b/pkg/generated/client/server/get_rekor_version_responses.go index 4c84daf90..fe165eae3 100644 --- a/pkg/generated/client/server/get_rekor_version_responses.go +++ b/pkg/generated/client/server/get_rekor_version_responses.go @@ -62,8 +62,7 @@ func NewGetRekorVersionOK() *GetRekorVersionOK { return &GetRekorVersionOK{} } -/* -GetRekorVersionOK describes a response with status code 200, with default header values. +/* GetRekorVersionOK describes a response with status code 200, with default header values. A JSON object with the running rekor version */ @@ -97,8 +96,7 @@ func NewGetRekorVersionDefault(code int) *GetRekorVersionDefault { } } -/* -GetRekorVersionDefault describes a response with status code -1, with default header values. +/* GetRekorVersionDefault describes a response with status code -1, with default header values. There was an internal error in the server while processing the request */ diff --git a/pkg/generated/client/server/server_client.go b/pkg/generated/client/server/server_client.go index fb7a6222f..f48e55062 100644 --- a/pkg/generated/client/server/server_client.go +++ b/pkg/generated/client/server/server_client.go @@ -50,7 +50,7 @@ type ClientService interface { } /* -GetRekorVersion gets the current version of the rekor server + GetRekorVersion gets the current version of the rekor server */ func (a *Client) GetRekorVersion(params *GetRekorVersionParams, opts ...ClientOption) (*GetRekorVersionOK, error) { // TODO: Validate the params before sending diff --git a/pkg/generated/client/tlog/get_log_info_parameters.go b/pkg/generated/client/tlog/get_log_info_parameters.go index e0ae2cdd3..f051485ae 100644 --- a/pkg/generated/client/tlog/get_log_info_parameters.go +++ b/pkg/generated/client/tlog/get_log_info_parameters.go @@ -68,12 +68,10 @@ func NewGetLogInfoParamsWithHTTPClient(client *http.Client) *GetLogInfoParams { } } -/* -GetLogInfoParams contains all the parameters to send to the API endpoint +/* GetLogInfoParams contains all the parameters to send to the API endpoint + for the get log info operation. - for the get log info operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetLogInfoParams struct { timeout time.Duration diff --git a/pkg/generated/client/tlog/get_log_info_responses.go b/pkg/generated/client/tlog/get_log_info_responses.go index 7d6d15405..d8157506a 100644 --- a/pkg/generated/client/tlog/get_log_info_responses.go +++ b/pkg/generated/client/tlog/get_log_info_responses.go @@ -62,8 +62,7 @@ func NewGetLogInfoOK() *GetLogInfoOK { return &GetLogInfoOK{} } -/* -GetLogInfoOK describes a response with status code 200, with default header values. +/* GetLogInfoOK describes a response with status code 200, with default header values. A JSON object with the root hash and tree size as properties */ @@ -97,8 +96,7 @@ func NewGetLogInfoDefault(code int) *GetLogInfoDefault { } } -/* -GetLogInfoDefault describes a response with status code -1, with default header values. +/* GetLogInfoDefault describes a response with status code -1, with default header values. There was an internal error in the server while processing the request */ diff --git a/pkg/generated/client/tlog/get_log_proof_parameters.go b/pkg/generated/client/tlog/get_log_proof_parameters.go index 2b21ad887..8d504b6cf 100644 --- a/pkg/generated/client/tlog/get_log_proof_parameters.go +++ b/pkg/generated/client/tlog/get_log_proof_parameters.go @@ -69,12 +69,10 @@ func NewGetLogProofParamsWithHTTPClient(client *http.Client) *GetLogProofParams } } -/* -GetLogProofParams contains all the parameters to send to the API endpoint +/* GetLogProofParams contains all the parameters to send to the API endpoint + for the get log proof operation. - for the get log proof operation. - - Typically these are written to a http.Request. + Typically these are written to a http.Request. */ type GetLogProofParams struct { diff --git a/pkg/generated/client/tlog/get_log_proof_responses.go b/pkg/generated/client/tlog/get_log_proof_responses.go index 2ec83fcaf..76ebadb10 100644 --- a/pkg/generated/client/tlog/get_log_proof_responses.go +++ b/pkg/generated/client/tlog/get_log_proof_responses.go @@ -68,8 +68,7 @@ func NewGetLogProofOK() *GetLogProofOK { return &GetLogProofOK{} } -/* -GetLogProofOK describes a response with status code 200, with default header values. +/* GetLogProofOK describes a response with status code 200, with default header values. All hashes required to compute the consistency proof */ @@ -101,8 +100,7 @@ func NewGetLogProofBadRequest() *GetLogProofBadRequest { return &GetLogProofBadRequest{} } -/* -GetLogProofBadRequest describes a response with status code 400, with default header values. +/* GetLogProofBadRequest describes a response with status code 400, with default header values. The content supplied to the server was invalid */ @@ -136,8 +134,7 @@ func NewGetLogProofDefault(code int) *GetLogProofDefault { } } -/* -GetLogProofDefault describes a response with status code -1, with default header values. +/* GetLogProofDefault describes a response with status code -1, with default header values. There was an internal error in the server while processing the request */ diff --git a/pkg/generated/client/tlog/tlog_client.go b/pkg/generated/client/tlog/tlog_client.go index f53f6c7f8..7fd8ffa19 100644 --- a/pkg/generated/client/tlog/tlog_client.go +++ b/pkg/generated/client/tlog/tlog_client.go @@ -52,9 +52,9 @@ type ClientService interface { } /* -GetLogInfo gets information about the current state of the transparency log + GetLogInfo gets information about the current state of the transparency log -Returns the current root hash and size of the merkle tree used to store the log entries. + Returns the current root hash and size of the merkle tree used to store the log entries. */ func (a *Client) GetLogInfo(params *GetLogInfoParams, opts ...ClientOption) (*GetLogInfoOK, error) { // TODO: Validate the params before sending @@ -91,9 +91,9 @@ func (a *Client) GetLogInfo(params *GetLogInfoParams, opts ...ClientOption) (*Ge } /* -GetLogProof gets information required to generate a consistency proof for the transparency log + GetLogProof gets information required to generate a consistency proof for the transparency log -Returns a list of hashes for specified tree sizes that can be used to confirm the consistency of the transparency log + Returns a list of hashes for specified tree sizes that can be used to confirm the consistency of the transparency log */ func (a *Client) GetLogProof(params *GetLogProofParams, opts ...ClientOption) (*GetLogProofOK, error) { // TODO: Validate the params before sending diff --git a/pkg/generated/models/alpine_schema.go b/pkg/generated/models/alpine_schema.go index edd25408b..49dd12b6b 100644 --- a/pkg/generated/models/alpine_schema.go +++ b/pkg/generated/models/alpine_schema.go @@ -23,7 +23,7 @@ package models // AlpineSchema Alpine Package Schema // -// # Schema for Alpine package objects +// Schema for Alpine package objects // // swagger:model alpineSchema type AlpineSchema interface{} diff --git a/pkg/generated/models/alpine_v001_schema.go b/pkg/generated/models/alpine_v001_schema.go index 6cf1181b0..999a48697 100644 --- a/pkg/generated/models/alpine_v001_schema.go +++ b/pkg/generated/models/alpine_v001_schema.go @@ -33,7 +33,7 @@ import ( // AlpineV001Schema Alpine v0.0.1 Schema // -// # Schema for Alpine Package entries +// Schema for Alpine Package entries // // swagger:model alpineV001Schema type AlpineV001Schema struct { diff --git a/pkg/generated/models/cose_schema.go b/pkg/generated/models/cose_schema.go index e653f2202..1d4f0dca1 100644 --- a/pkg/generated/models/cose_schema.go +++ b/pkg/generated/models/cose_schema.go @@ -23,7 +23,7 @@ package models // CoseSchema COSE Schema // -// # COSE for Rekord objects +// COSE for Rekord objects // // swagger:model coseSchema type CoseSchema interface{} diff --git a/pkg/generated/models/cose_v001_schema.go b/pkg/generated/models/cose_v001_schema.go index ea7f467da..caadb44d4 100644 --- a/pkg/generated/models/cose_v001_schema.go +++ b/pkg/generated/models/cose_v001_schema.go @@ -33,7 +33,7 @@ import ( // CoseV001Schema cose v0.0.1 Schema // -// # Schema for cose object +// Schema for cose object // // swagger:model coseV001Schema type CoseV001Schema struct { diff --git a/pkg/generated/models/hashedrekord_schema.go b/pkg/generated/models/hashedrekord_schema.go index 387a9392b..49d5831f8 100644 --- a/pkg/generated/models/hashedrekord_schema.go +++ b/pkg/generated/models/hashedrekord_schema.go @@ -23,7 +23,7 @@ package models // HashedrekordSchema Rekor Schema // -// # Schema for Rekord objects +// Schema for Rekord objects // // swagger:model hashedrekordSchema type HashedrekordSchema interface{} diff --git a/pkg/generated/models/hashedrekord_v001_schema.go b/pkg/generated/models/hashedrekord_v001_schema.go index 1a2dd312f..50fd24827 100644 --- a/pkg/generated/models/hashedrekord_v001_schema.go +++ b/pkg/generated/models/hashedrekord_v001_schema.go @@ -33,7 +33,7 @@ import ( // HashedrekordV001Schema Hashed Rekor v0.0.1 Schema // -// # Schema for Hashed Rekord object +// Schema for Hashed Rekord object // // swagger:model hashedrekordV001Schema type HashedrekordV001Schema struct { diff --git a/pkg/generated/models/helm_schema.go b/pkg/generated/models/helm_schema.go index 0ab87df9c..a6981eb63 100644 --- a/pkg/generated/models/helm_schema.go +++ b/pkg/generated/models/helm_schema.go @@ -23,7 +23,7 @@ package models // HelmSchema Helm Schema // -// # Schema for Helm objects +// Schema for Helm objects // // swagger:model helmSchema type HelmSchema interface{} diff --git a/pkg/generated/models/helm_v001_schema.go b/pkg/generated/models/helm_v001_schema.go index e0942574b..1512dad32 100644 --- a/pkg/generated/models/helm_v001_schema.go +++ b/pkg/generated/models/helm_v001_schema.go @@ -33,7 +33,7 @@ import ( // HelmV001Schema Helm v0.0.1 Schema // -// # Schema for Helm object +// Schema for Helm object // // swagger:model helmV001Schema type HelmV001Schema struct { diff --git a/pkg/generated/models/intoto_schema.go b/pkg/generated/models/intoto_schema.go index a7fdaa6a6..3533f9d59 100644 --- a/pkg/generated/models/intoto_schema.go +++ b/pkg/generated/models/intoto_schema.go @@ -23,7 +23,7 @@ package models // IntotoSchema Intoto Schema // -// # Intoto for Rekord objects +// Intoto for Rekord objects // // swagger:model intotoSchema type IntotoSchema interface{} diff --git a/pkg/generated/models/intoto_v001_schema.go b/pkg/generated/models/intoto_v001_schema.go index dffbecd33..e43e699f7 100644 --- a/pkg/generated/models/intoto_v001_schema.go +++ b/pkg/generated/models/intoto_v001_schema.go @@ -33,7 +33,7 @@ import ( // IntotoV001Schema intoto v0.0.1 Schema // -// # Schema for intoto object +// Schema for intoto object // // swagger:model intotoV001Schema type IntotoV001Schema struct { diff --git a/pkg/generated/models/jar_schema.go b/pkg/generated/models/jar_schema.go index e7b9a590e..d45c53da7 100644 --- a/pkg/generated/models/jar_schema.go +++ b/pkg/generated/models/jar_schema.go @@ -23,7 +23,7 @@ package models // JarSchema JAR Schema // -// # Schema for JAR objects +// Schema for JAR objects // // swagger:model jarSchema type JarSchema interface{} diff --git a/pkg/generated/models/jar_v001_schema.go b/pkg/generated/models/jar_v001_schema.go index 7a49b3e2e..24f6d3b2b 100644 --- a/pkg/generated/models/jar_v001_schema.go +++ b/pkg/generated/models/jar_v001_schema.go @@ -33,7 +33,7 @@ import ( // JarV001Schema JAR v0.0.1 Schema // -// # Schema for JAR entries +// Schema for JAR entries // // swagger:model jarV001Schema type JarV001Schema struct { diff --git a/pkg/generated/models/rekord_schema.go b/pkg/generated/models/rekord_schema.go index e85442ae9..7bf278330 100644 --- a/pkg/generated/models/rekord_schema.go +++ b/pkg/generated/models/rekord_schema.go @@ -23,7 +23,7 @@ package models // RekordSchema Rekor Schema // -// # Schema for Rekord objects +// Schema for Rekord objects // // swagger:model rekordSchema type RekordSchema interface{} diff --git a/pkg/generated/models/rekord_v001_schema.go b/pkg/generated/models/rekord_v001_schema.go index 3d0446a5b..ddc6ec290 100644 --- a/pkg/generated/models/rekord_v001_schema.go +++ b/pkg/generated/models/rekord_v001_schema.go @@ -33,7 +33,7 @@ import ( // RekordV001Schema Rekor v0.0.1 Schema // -// # Schema for Rekord object +// Schema for Rekord object // // swagger:model rekordV001Schema type RekordV001Schema struct { diff --git a/pkg/generated/models/rfc3161_schema.go b/pkg/generated/models/rfc3161_schema.go index 826013a28..90667a4aa 100644 --- a/pkg/generated/models/rfc3161_schema.go +++ b/pkg/generated/models/rfc3161_schema.go @@ -23,7 +23,7 @@ package models // Rfc3161Schema Timestamp Schema // -// # Schema for RFC 3161 timestamp objects +// Schema for RFC 3161 timestamp objects // // swagger:model rfc3161Schema type Rfc3161Schema interface{} diff --git a/pkg/generated/models/rfc3161_v001_schema.go b/pkg/generated/models/rfc3161_v001_schema.go index fe668412d..49f317a76 100644 --- a/pkg/generated/models/rfc3161_v001_schema.go +++ b/pkg/generated/models/rfc3161_v001_schema.go @@ -32,7 +32,7 @@ import ( // Rfc3161V001Schema Timestamp v0.0.1 Schema // -// # Schema for RFC3161 entries +// Schema for RFC3161 entries // // swagger:model rfc3161V001Schema type Rfc3161V001Schema struct { diff --git a/pkg/generated/models/rpm_schema.go b/pkg/generated/models/rpm_schema.go index 5cb378366..0304bbe77 100644 --- a/pkg/generated/models/rpm_schema.go +++ b/pkg/generated/models/rpm_schema.go @@ -23,7 +23,7 @@ package models // RpmSchema RPM Schema // -// # Schema for RPM objects +// Schema for RPM objects // // swagger:model rpmSchema type RpmSchema interface{} diff --git a/pkg/generated/models/rpm_v001_schema.go b/pkg/generated/models/rpm_v001_schema.go index 82a75c1de..6f3cb07c9 100644 --- a/pkg/generated/models/rpm_v001_schema.go +++ b/pkg/generated/models/rpm_v001_schema.go @@ -33,7 +33,7 @@ import ( // RpmV001Schema RPM v0.0.1 Schema // -// # Schema for RPM entries +// Schema for RPM entries // // swagger:model rpmV001Schema type RpmV001Schema struct { diff --git a/pkg/generated/models/tuf_schema.go b/pkg/generated/models/tuf_schema.go index 37dca8b68..425a546ec 100644 --- a/pkg/generated/models/tuf_schema.go +++ b/pkg/generated/models/tuf_schema.go @@ -23,7 +23,7 @@ package models // TUFSchema TUF Schema // -// # Schema for TUF metadata objects +// Schema for TUF metadata objects // // swagger:model tufSchema type TUFSchema interface{} diff --git a/pkg/generated/models/tuf_v001_schema.go b/pkg/generated/models/tuf_v001_schema.go index f8bf4b020..d015607ff 100644 --- a/pkg/generated/models/tuf_v001_schema.go +++ b/pkg/generated/models/tuf_v001_schema.go @@ -32,7 +32,7 @@ import ( // TUFV001Schema TUF v0.0.1 Schema // -// # Schema for TUF metadata entries +// Schema for TUF metadata entries // // swagger:model tufV001Schema type TUFV001Schema struct { diff --git a/pkg/generated/restapi/doc.go b/pkg/generated/restapi/doc.go index 8b8735f1c..72dfdc654 100644 --- a/pkg/generated/restapi/doc.go +++ b/pkg/generated/restapi/doc.go @@ -17,19 +17,19 @@ // Package restapi Rekor // -// Rekor is a cryptographically secure, immutable transparency log for signed software releases. -// Schemes: -// http -// Host: rekor.sigstore.dev -// BasePath: / -// Version: 0.0.1 -// -// Consumes: -// - application/json -// -// Produces: -// - application/x-pem-file -// - application/json +// Rekor is a cryptographically secure, immutable transparency log for signed software releases. +// Schemes: +// http +// Host: rekor.sigstore.dev +// BasePath: / +// Version: 0.0.1 +// +// Consumes: +// - application/json +// +// Produces: +// - application/x-pem-file +// - application/json // // swagger:meta package restapi diff --git a/pkg/generated/restapi/operations/entries/create_log_entry.go b/pkg/generated/restapi/operations/entries/create_log_entry.go index b95c892fb..6860514d3 100644 --- a/pkg/generated/restapi/operations/entries/create_log_entry.go +++ b/pkg/generated/restapi/operations/entries/create_log_entry.go @@ -45,12 +45,13 @@ func NewCreateLogEntry(ctx *middleware.Context, handler CreateLogEntryHandler) * return &CreateLogEntry{Context: ctx, Handler: handler} } -/* - CreateLogEntry swagger:route POST /api/v1/log/entries entries createLogEntry +/* CreateLogEntry swagger:route POST /api/v1/log/entries entries createLogEntry -# Creates an entry in the transparency log +Creates an entry in the transparency log Creates an entry in the transparency log for a detached signature, public key, and content. Items can be included in the request or fetched by the server when URLs are specified. + + */ type CreateLogEntry struct { Context *middleware.Context diff --git a/pkg/generated/restapi/operations/entries/create_log_entry_responses.go b/pkg/generated/restapi/operations/entries/create_log_entry_responses.go index 3ff2489f0..ddc2839c1 100644 --- a/pkg/generated/restapi/operations/entries/create_log_entry_responses.go +++ b/pkg/generated/restapi/operations/entries/create_log_entry_responses.go @@ -33,8 +33,7 @@ import ( // CreateLogEntryCreatedCode is the HTTP code returned for type CreateLogEntryCreated const CreateLogEntryCreatedCode int = 201 -/* -CreateLogEntryCreated Returns the entry created in the transparency log +/*CreateLogEntryCreated Returns the entry created in the transparency log swagger:response createLogEntryCreated */ @@ -125,8 +124,7 @@ func (o *CreateLogEntryCreated) WriteResponse(rw http.ResponseWriter, producer r // CreateLogEntryBadRequestCode is the HTTP code returned for type CreateLogEntryBadRequest const CreateLogEntryBadRequestCode int = 400 -/* -CreateLogEntryBadRequest The content supplied to the server was invalid +/*CreateLogEntryBadRequest The content supplied to the server was invalid swagger:response createLogEntryBadRequest */ @@ -170,8 +168,7 @@ func (o *CreateLogEntryBadRequest) WriteResponse(rw http.ResponseWriter, produce // CreateLogEntryConflictCode is the HTTP code returned for type CreateLogEntryConflict const CreateLogEntryConflictCode int = 409 -/* -CreateLogEntryConflict The request conflicts with the current state of the transparency log +/*CreateLogEntryConflict The request conflicts with the current state of the transparency log swagger:response createLogEntryConflict */ @@ -234,8 +231,7 @@ func (o *CreateLogEntryConflict) WriteResponse(rw http.ResponseWriter, producer } } -/* -CreateLogEntryDefault There was an internal error in the server while processing the request +/*CreateLogEntryDefault There was an internal error in the server while processing the request swagger:response createLogEntryDefault */ diff --git a/pkg/generated/restapi/operations/entries/get_log_entry_by_index.go b/pkg/generated/restapi/operations/entries/get_log_entry_by_index.go index ee804e5b9..a27e5f608 100644 --- a/pkg/generated/restapi/operations/entries/get_log_entry_by_index.go +++ b/pkg/generated/restapi/operations/entries/get_log_entry_by_index.go @@ -45,10 +45,10 @@ func NewGetLogEntryByIndex(ctx *middleware.Context, handler GetLogEntryByIndexHa return &GetLogEntryByIndex{Context: ctx, Handler: handler} } -/* - GetLogEntryByIndex swagger:route GET /api/v1/log/entries entries getLogEntryByIndex +/* GetLogEntryByIndex swagger:route GET /api/v1/log/entries entries getLogEntryByIndex Retrieves an entry and inclusion proof from the transparency log (if it exists) by index + */ type GetLogEntryByIndex struct { Context *middleware.Context diff --git a/pkg/generated/restapi/operations/entries/get_log_entry_by_index_responses.go b/pkg/generated/restapi/operations/entries/get_log_entry_by_index_responses.go index 08d6215ec..3b14b1a36 100644 --- a/pkg/generated/restapi/operations/entries/get_log_entry_by_index_responses.go +++ b/pkg/generated/restapi/operations/entries/get_log_entry_by_index_responses.go @@ -32,8 +32,7 @@ import ( // GetLogEntryByIndexOKCode is the HTTP code returned for type GetLogEntryByIndexOK const GetLogEntryByIndexOKCode int = 200 -/* -GetLogEntryByIndexOK the entry in the transparency log requested along with an inclusion proof +/*GetLogEntryByIndexOK the entry in the transparency log requested along with an inclusion proof swagger:response getLogEntryByIndexOK */ @@ -80,8 +79,7 @@ func (o *GetLogEntryByIndexOK) WriteResponse(rw http.ResponseWriter, producer ru // GetLogEntryByIndexNotFoundCode is the HTTP code returned for type GetLogEntryByIndexNotFound const GetLogEntryByIndexNotFoundCode int = 404 -/* -GetLogEntryByIndexNotFound The content requested could not be found +/*GetLogEntryByIndexNotFound The content requested could not be found swagger:response getLogEntryByIndexNotFound */ @@ -102,8 +100,7 @@ func (o *GetLogEntryByIndexNotFound) WriteResponse(rw http.ResponseWriter, produ rw.WriteHeader(404) } -/* -GetLogEntryByIndexDefault There was an internal error in the server while processing the request +/*GetLogEntryByIndexDefault There was an internal error in the server while processing the request swagger:response getLogEntryByIndexDefault */ diff --git a/pkg/generated/restapi/operations/entries/get_log_entry_by_uuid.go b/pkg/generated/restapi/operations/entries/get_log_entry_by_uuid.go index eb04b8693..ea40f9025 100644 --- a/pkg/generated/restapi/operations/entries/get_log_entry_by_uuid.go +++ b/pkg/generated/restapi/operations/entries/get_log_entry_by_uuid.go @@ -45,12 +45,12 @@ func NewGetLogEntryByUUID(ctx *middleware.Context, handler GetLogEntryByUUIDHand return &GetLogEntryByUUID{Context: ctx, Handler: handler} } -/* - GetLogEntryByUUID swagger:route GET /api/v1/log/entries/{entryUUID} entries getLogEntryByUuid +/* GetLogEntryByUUID swagger:route GET /api/v1/log/entries/{entryUUID} entries getLogEntryByUuid -# Get log entry and information required to generate an inclusion proof for the entry in the transparency log +Get log entry and information required to generate an inclusion proof for the entry in the transparency log Returns the entry, root hash, tree size, and a list of hashes that can be used to calculate proof of an entry being included in the transparency log + */ type GetLogEntryByUUID struct { Context *middleware.Context diff --git a/pkg/generated/restapi/operations/entries/get_log_entry_by_uuid_responses.go b/pkg/generated/restapi/operations/entries/get_log_entry_by_uuid_responses.go index 1e45fb1cd..ccabfba23 100644 --- a/pkg/generated/restapi/operations/entries/get_log_entry_by_uuid_responses.go +++ b/pkg/generated/restapi/operations/entries/get_log_entry_by_uuid_responses.go @@ -32,8 +32,7 @@ import ( // GetLogEntryByUUIDOKCode is the HTTP code returned for type GetLogEntryByUUIDOK const GetLogEntryByUUIDOKCode int = 200 -/* -GetLogEntryByUUIDOK Information needed for a client to compute the inclusion proof +/*GetLogEntryByUUIDOK Information needed for a client to compute the inclusion proof swagger:response getLogEntryByUuidOK */ @@ -80,8 +79,7 @@ func (o *GetLogEntryByUUIDOK) WriteResponse(rw http.ResponseWriter, producer run // GetLogEntryByUUIDNotFoundCode is the HTTP code returned for type GetLogEntryByUUIDNotFound const GetLogEntryByUUIDNotFoundCode int = 404 -/* -GetLogEntryByUUIDNotFound The content requested could not be found +/*GetLogEntryByUUIDNotFound The content requested could not be found swagger:response getLogEntryByUuidNotFound */ @@ -102,8 +100,7 @@ func (o *GetLogEntryByUUIDNotFound) WriteResponse(rw http.ResponseWriter, produc rw.WriteHeader(404) } -/* -GetLogEntryByUUIDDefault There was an internal error in the server while processing the request +/*GetLogEntryByUUIDDefault There was an internal error in the server while processing the request swagger:response getLogEntryByUuidDefault */ diff --git a/pkg/generated/restapi/operations/entries/search_log_query.go b/pkg/generated/restapi/operations/entries/search_log_query.go index 343f3ec52..098e225d7 100644 --- a/pkg/generated/restapi/operations/entries/search_log_query.go +++ b/pkg/generated/restapi/operations/entries/search_log_query.go @@ -45,10 +45,10 @@ func NewSearchLogQuery(ctx *middleware.Context, handler SearchLogQueryHandler) * return &SearchLogQuery{Context: ctx, Handler: handler} } -/* - SearchLogQuery swagger:route POST /api/v1/log/entries/retrieve entries searchLogQuery +/* SearchLogQuery swagger:route POST /api/v1/log/entries/retrieve entries searchLogQuery Searches transparency log for one or more log entries + */ type SearchLogQuery struct { Context *middleware.Context diff --git a/pkg/generated/restapi/operations/entries/search_log_query_responses.go b/pkg/generated/restapi/operations/entries/search_log_query_responses.go index 10d09ff2b..3694ef3d8 100644 --- a/pkg/generated/restapi/operations/entries/search_log_query_responses.go +++ b/pkg/generated/restapi/operations/entries/search_log_query_responses.go @@ -32,8 +32,7 @@ import ( // SearchLogQueryOKCode is the HTTP code returned for type SearchLogQueryOK const SearchLogQueryOKCode int = 200 -/* -SearchLogQueryOK Returns zero or more entries from the transparency log, according to how many were included in request query +/*SearchLogQueryOK Returns zero or more entries from the transparency log, according to how many were included in request query swagger:response searchLogQueryOK */ @@ -80,8 +79,7 @@ func (o *SearchLogQueryOK) WriteResponse(rw http.ResponseWriter, producer runtim // SearchLogQueryBadRequestCode is the HTTP code returned for type SearchLogQueryBadRequest const SearchLogQueryBadRequestCode int = 400 -/* -SearchLogQueryBadRequest The content supplied to the server was invalid +/*SearchLogQueryBadRequest The content supplied to the server was invalid swagger:response searchLogQueryBadRequest */ @@ -122,8 +120,7 @@ func (o *SearchLogQueryBadRequest) WriteResponse(rw http.ResponseWriter, produce } } -/* -SearchLogQueryDefault There was an internal error in the server while processing the request +/*SearchLogQueryDefault There was an internal error in the server while processing the request swagger:response searchLogQueryDefault */ diff --git a/pkg/generated/restapi/operations/index/search_index.go b/pkg/generated/restapi/operations/index/search_index.go index f3c1ac6ca..5848525c2 100644 --- a/pkg/generated/restapi/operations/index/search_index.go +++ b/pkg/generated/restapi/operations/index/search_index.go @@ -45,10 +45,10 @@ func NewSearchIndex(ctx *middleware.Context, handler SearchIndexHandler) *Search return &SearchIndex{Context: ctx, Handler: handler} } -/* - SearchIndex swagger:route POST /api/v1/index/retrieve index searchIndex +/* SearchIndex swagger:route POST /api/v1/index/retrieve index searchIndex Searches index by entry metadata + */ type SearchIndex struct { Context *middleware.Context diff --git a/pkg/generated/restapi/operations/index/search_index_responses.go b/pkg/generated/restapi/operations/index/search_index_responses.go index 6211b99eb..4a160125d 100644 --- a/pkg/generated/restapi/operations/index/search_index_responses.go +++ b/pkg/generated/restapi/operations/index/search_index_responses.go @@ -32,8 +32,7 @@ import ( // SearchIndexOKCode is the HTTP code returned for type SearchIndexOK const SearchIndexOKCode int = 200 -/* -SearchIndexOK Returns zero or more entry UUIDs from the transparency log based on search query +/*SearchIndexOK Returns zero or more entry UUIDs from the transparency log based on search query swagger:response searchIndexOK */ @@ -80,8 +79,7 @@ func (o *SearchIndexOK) WriteResponse(rw http.ResponseWriter, producer runtime.P // SearchIndexBadRequestCode is the HTTP code returned for type SearchIndexBadRequest const SearchIndexBadRequestCode int = 400 -/* -SearchIndexBadRequest The content supplied to the server was invalid +/*SearchIndexBadRequest The content supplied to the server was invalid swagger:response searchIndexBadRequest */ @@ -122,8 +120,7 @@ func (o *SearchIndexBadRequest) WriteResponse(rw http.ResponseWriter, producer r } } -/* -SearchIndexDefault There was an internal error in the server while processing the request +/*SearchIndexDefault There was an internal error in the server while processing the request swagger:response searchIndexDefault */ diff --git a/pkg/generated/restapi/operations/pubkey/get_public_key.go b/pkg/generated/restapi/operations/pubkey/get_public_key.go index 688c7bb36..939566b94 100644 --- a/pkg/generated/restapi/operations/pubkey/get_public_key.go +++ b/pkg/generated/restapi/operations/pubkey/get_public_key.go @@ -45,12 +45,12 @@ func NewGetPublicKey(ctx *middleware.Context, handler GetPublicKeyHandler) *GetP return &GetPublicKey{Context: ctx, Handler: handler} } -/* - GetPublicKey swagger:route GET /api/v1/log/publicKey pubkey getPublicKey +/* GetPublicKey swagger:route GET /api/v1/log/publicKey pubkey getPublicKey -# Retrieve the public key that can be used to validate the signed tree head +Retrieve the public key that can be used to validate the signed tree head Returns the public key that can be used to validate the signed tree head + */ type GetPublicKey struct { Context *middleware.Context diff --git a/pkg/generated/restapi/operations/pubkey/get_public_key_responses.go b/pkg/generated/restapi/operations/pubkey/get_public_key_responses.go index 1cd51a9df..6ecb5bf19 100644 --- a/pkg/generated/restapi/operations/pubkey/get_public_key_responses.go +++ b/pkg/generated/restapi/operations/pubkey/get_public_key_responses.go @@ -32,8 +32,7 @@ import ( // GetPublicKeyOKCode is the HTTP code returned for type GetPublicKeyOK const GetPublicKeyOKCode int = 200 -/* -GetPublicKeyOK The public key +/*GetPublicKeyOK The public key swagger:response getPublicKeyOK */ @@ -72,8 +71,7 @@ func (o *GetPublicKeyOK) WriteResponse(rw http.ResponseWriter, producer runtime. } } -/* -GetPublicKeyDefault There was an internal error in the server while processing the request +/*GetPublicKeyDefault There was an internal error in the server while processing the request swagger:response getPublicKeyDefault */ diff --git a/pkg/generated/restapi/operations/server/get_rekor_version.go b/pkg/generated/restapi/operations/server/get_rekor_version.go index 461be3017..0297c5202 100644 --- a/pkg/generated/restapi/operations/server/get_rekor_version.go +++ b/pkg/generated/restapi/operations/server/get_rekor_version.go @@ -45,10 +45,10 @@ func NewGetRekorVersion(ctx *middleware.Context, handler GetRekorVersionHandler) return &GetRekorVersion{Context: ctx, Handler: handler} } -/* - GetRekorVersion swagger:route GET /api/v1/version server getRekorVersion +/* GetRekorVersion swagger:route GET /api/v1/version server getRekorVersion Get the current version of the rekor server + */ type GetRekorVersion struct { Context *middleware.Context diff --git a/pkg/generated/restapi/operations/server/get_rekor_version_responses.go b/pkg/generated/restapi/operations/server/get_rekor_version_responses.go index 28c607895..8845dce14 100644 --- a/pkg/generated/restapi/operations/server/get_rekor_version_responses.go +++ b/pkg/generated/restapi/operations/server/get_rekor_version_responses.go @@ -32,8 +32,7 @@ import ( // GetRekorVersionOKCode is the HTTP code returned for type GetRekorVersionOK const GetRekorVersionOKCode int = 200 -/* -GetRekorVersionOK A JSON object with the running rekor version +/*GetRekorVersionOK A JSON object with the running rekor version swagger:response getRekorVersionOK */ @@ -74,8 +73,7 @@ func (o *GetRekorVersionOK) WriteResponse(rw http.ResponseWriter, producer runti } } -/* -GetRekorVersionDefault There was an internal error in the server while processing the request +/*GetRekorVersionDefault There was an internal error in the server while processing the request swagger:response getRekorVersionDefault */ diff --git a/pkg/generated/restapi/operations/tlog/get_log_info.go b/pkg/generated/restapi/operations/tlog/get_log_info.go index e5395bd77..2c7ccbcab 100644 --- a/pkg/generated/restapi/operations/tlog/get_log_info.go +++ b/pkg/generated/restapi/operations/tlog/get_log_info.go @@ -45,12 +45,12 @@ func NewGetLogInfo(ctx *middleware.Context, handler GetLogInfoHandler) *GetLogIn return &GetLogInfo{Context: ctx, Handler: handler} } -/* - GetLogInfo swagger:route GET /api/v1/log tlog getLogInfo +/* GetLogInfo swagger:route GET /api/v1/log tlog getLogInfo -# Get information about the current state of the transparency log +Get information about the current state of the transparency log Returns the current root hash and size of the merkle tree used to store the log entries. + */ type GetLogInfo struct { Context *middleware.Context diff --git a/pkg/generated/restapi/operations/tlog/get_log_info_responses.go b/pkg/generated/restapi/operations/tlog/get_log_info_responses.go index 28e747fda..94efef292 100644 --- a/pkg/generated/restapi/operations/tlog/get_log_info_responses.go +++ b/pkg/generated/restapi/operations/tlog/get_log_info_responses.go @@ -32,8 +32,7 @@ import ( // GetLogInfoOKCode is the HTTP code returned for type GetLogInfoOK const GetLogInfoOKCode int = 200 -/* -GetLogInfoOK A JSON object with the root hash and tree size as properties +/*GetLogInfoOK A JSON object with the root hash and tree size as properties swagger:response getLogInfoOK */ @@ -74,8 +73,7 @@ func (o *GetLogInfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Pr } } -/* -GetLogInfoDefault There was an internal error in the server while processing the request +/*GetLogInfoDefault There was an internal error in the server while processing the request swagger:response getLogInfoDefault */ diff --git a/pkg/generated/restapi/operations/tlog/get_log_proof.go b/pkg/generated/restapi/operations/tlog/get_log_proof.go index 18872a172..c05f21197 100644 --- a/pkg/generated/restapi/operations/tlog/get_log_proof.go +++ b/pkg/generated/restapi/operations/tlog/get_log_proof.go @@ -45,12 +45,12 @@ func NewGetLogProof(ctx *middleware.Context, handler GetLogProofHandler) *GetLog return &GetLogProof{Context: ctx, Handler: handler} } -/* - GetLogProof swagger:route GET /api/v1/log/proof tlog getLogProof +/* GetLogProof swagger:route GET /api/v1/log/proof tlog getLogProof -# Get information required to generate a consistency proof for the transparency log +Get information required to generate a consistency proof for the transparency log Returns a list of hashes for specified tree sizes that can be used to confirm the consistency of the transparency log + */ type GetLogProof struct { Context *middleware.Context diff --git a/pkg/generated/restapi/operations/tlog/get_log_proof_responses.go b/pkg/generated/restapi/operations/tlog/get_log_proof_responses.go index 34900c4ad..7f842ad5c 100644 --- a/pkg/generated/restapi/operations/tlog/get_log_proof_responses.go +++ b/pkg/generated/restapi/operations/tlog/get_log_proof_responses.go @@ -32,8 +32,7 @@ import ( // GetLogProofOKCode is the HTTP code returned for type GetLogProofOK const GetLogProofOKCode int = 200 -/* -GetLogProofOK All hashes required to compute the consistency proof +/*GetLogProofOK All hashes required to compute the consistency proof swagger:response getLogProofOK */ @@ -77,8 +76,7 @@ func (o *GetLogProofOK) WriteResponse(rw http.ResponseWriter, producer runtime.P // GetLogProofBadRequestCode is the HTTP code returned for type GetLogProofBadRequest const GetLogProofBadRequestCode int = 400 -/* -GetLogProofBadRequest The content supplied to the server was invalid +/*GetLogProofBadRequest The content supplied to the server was invalid swagger:response getLogProofBadRequest */ @@ -119,8 +117,7 @@ func (o *GetLogProofBadRequest) WriteResponse(rw http.ResponseWriter, producer r } } -/* -GetLogProofDefault There was an internal error in the server while processing the request +/*GetLogProofDefault There was an internal error in the server while processing the request swagger:response getLogProofDefault */