diff --git a/internal/coremsgs/es/es_struct_descriptions.go b/internal/coremsgs/es/es_struct_descriptions.go deleted file mode 100644 index b1de120db2..0000000000 --- a/internal/coremsgs/es/es_struct_descriptions.go +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright © 2024 Kaleido, Inc. -// -// SPDX-License-Identifier: Apache-2.0 -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package es - -//revive:disable - -/* -This file contains the field level descriptions that are used in -OpenAPI Spec generation. Each struct field that wants to use one of these -needs to have an ffstruct tag on it, indicating the name of the struct. -That will be combined with the JSON field name (note, it is not the GO -field name, but the JSON serialized name), separated by a "." This is the -key used to lookup the translation below. If it is not found, the description -is left blank in the OpenAPI spec - -Example: -// message.go -type Message struct { - Header MessageHeader `ffstruct:"Message" json:"header"` - -// en_translations_descriptions.go -MessageHeader = ffm("Message.header", "The message header") - -*/ - -// var ffm = func(key, translation string) i18n.MessageKey { -// return i18n.FFM(language.Spanish, key, translation) -// } - -// var ( -// // MessageHeader field descriptions -// MessageHeaderID = ffm("MessageHeader.id", "El UUID del mensaje. Único para cada mensaje") -// )