diff --git a/api_generator/eslint.config.mjs b/api_generator/eslint.config.mjs index ff20d8f7a..347f305d2 100644 --- a/api_generator/eslint.config.mjs +++ b/api_generator/eslint.config.mjs @@ -66,6 +66,7 @@ export default [ ' * The OpenSearch Contributors require contributions made to', ' * this file be licensed under the Apache-2.0 license or a', ' * compatible open source license.', + ' *', ' */' ] ] diff --git a/api_generator/src/Generator.ts b/api_generator/src/Generator.ts index 4e72dc7bd..d6d4512a8 100644 --- a/api_generator/src/Generator.ts +++ b/api_generator/src/Generator.ts @@ -5,6 +5,7 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * */ import Namespace from './spec_parser/Namespace' diff --git a/api_generator/src/generate_api.ts b/api_generator/src/generate_api.ts index d3da0de8c..ad33020cd 100644 --- a/api_generator/src/generate_api.ts +++ b/api_generator/src/generate_api.ts @@ -5,6 +5,7 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * */ import Generator from './Generator' diff --git a/api_generator/src/helpers.ts b/api_generator/src/helpers.ts index b68de8cfc..29d5ce8de 100644 --- a/api_generator/src/helpers.ts +++ b/api_generator/src/helpers.ts @@ -5,6 +5,7 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * */ import { type RawOpenSearchSpec } from './spec_parser/types' diff --git a/api_generator/src/renderers/BaseRenderer.ts b/api_generator/src/renderers/BaseRenderer.ts index 6359f212e..c317a987e 100644 --- a/api_generator/src/renderers/BaseRenderer.ts +++ b/api_generator/src/renderers/BaseRenderer.ts @@ -5,6 +5,7 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * */ import Mustache from 'mustache' diff --git a/api_generator/src/renderers/render_code/FunctionFileRenderer.ts b/api_generator/src/renderers/render_code/FunctionFileRenderer.ts index e520aabe0..0b7f0dec3 100644 --- a/api_generator/src/renderers/render_code/FunctionFileRenderer.ts +++ b/api_generator/src/renderers/render_code/FunctionFileRenderer.ts @@ -5,6 +5,7 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * */ import BaseRenderer from '../BaseRenderer' diff --git a/api_generator/src/renderers/render_code/HttpFunctionFileRenderer.ts b/api_generator/src/renderers/render_code/HttpFunctionFileRenderer.ts index 1ca0fe06a..3e4805c3b 100644 --- a/api_generator/src/renderers/render_code/HttpFunctionFileRenderer.ts +++ b/api_generator/src/renderers/render_code/HttpFunctionFileRenderer.ts @@ -5,6 +5,7 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * */ import type Namespace from '../../spec_parser/Namespace' diff --git a/api_generator/src/renderers/render_code/HttpModuleFileRenderer.ts b/api_generator/src/renderers/render_code/HttpModuleFileRenderer.ts index bf09fc306..413e158e0 100644 --- a/api_generator/src/renderers/render_code/HttpModuleFileRenderer.ts +++ b/api_generator/src/renderers/render_code/HttpModuleFileRenderer.ts @@ -5,6 +5,7 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * */ import type Namespace from '../../spec_parser/Namespace' diff --git a/api_generator/src/renderers/render_code/ModuleFileRenderer.ts b/api_generator/src/renderers/render_code/ModuleFileRenderer.ts index 33a660de4..fd1375159 100644 --- a/api_generator/src/renderers/render_code/ModuleFileRenderer.ts +++ b/api_generator/src/renderers/render_code/ModuleFileRenderer.ts @@ -5,6 +5,7 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * */ import BaseRenderer from '../BaseRenderer' diff --git a/api_generator/src/renderers/render_code/OpensearchApiRenderder.ts b/api_generator/src/renderers/render_code/OpensearchApiRenderder.ts index c7ab42d29..80c9231f5 100644 --- a/api_generator/src/renderers/render_code/OpensearchApiRenderder.ts +++ b/api_generator/src/renderers/render_code/OpensearchApiRenderder.ts @@ -5,6 +5,7 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * */ import BaseRenderer from '../BaseRenderer' diff --git a/api_generator/src/renderers/render_types/ApiTypeRenderer.ts b/api_generator/src/renderers/render_types/ApiTypeRenderer.ts index 1f84acd39..154b511ec 100644 --- a/api_generator/src/renderers/render_types/ApiTypeRenderer.ts +++ b/api_generator/src/renderers/render_types/ApiTypeRenderer.ts @@ -5,6 +5,7 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * */ import BaseRenderer from '../BaseRenderer' diff --git a/api_generator/src/renderers/render_types/ComponentTypesContainer.ts b/api_generator/src/renderers/render_types/ComponentTypesContainer.ts index 902287aa9..0bb960365 100644 --- a/api_generator/src/renderers/render_types/ComponentTypesContainer.ts +++ b/api_generator/src/renderers/render_types/ComponentTypesContainer.ts @@ -5,6 +5,7 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * */ import TypesContainer, { TYPE_COMPONENTS_FOLDER } from './TypesContainer' diff --git a/api_generator/src/renderers/render_types/FunctionTypesContainer.ts b/api_generator/src/renderers/render_types/FunctionTypesContainer.ts index 299f5bed0..b6f0e78ad 100644 --- a/api_generator/src/renderers/render_types/FunctionTypesContainer.ts +++ b/api_generator/src/renderers/render_types/FunctionTypesContainer.ts @@ -5,6 +5,7 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * */ import TypesContainer from './TypesContainer' diff --git a/api_generator/src/renderers/render_types/OpensearchApiTypeRenderer.ts b/api_generator/src/renderers/render_types/OpensearchApiTypeRenderer.ts index 3c8e2060e..098f90576 100644 --- a/api_generator/src/renderers/render_types/OpensearchApiTypeRenderer.ts +++ b/api_generator/src/renderers/render_types/OpensearchApiTypeRenderer.ts @@ -5,6 +5,7 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * */ import BaseRenderer from '../BaseRenderer' diff --git a/api_generator/src/renderers/render_types/TypesContainer.ts b/api_generator/src/renderers/render_types/TypesContainer.ts index 260317496..df22ca40d 100644 --- a/api_generator/src/renderers/render_types/TypesContainer.ts +++ b/api_generator/src/renderers/render_types/TypesContainer.ts @@ -5,6 +5,7 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * */ import { type JSONSchema7 as Schema } from 'json-schema' diff --git a/api_generator/src/renderers/render_types/TypesFileRenderder.ts b/api_generator/src/renderers/render_types/TypesFileRenderder.ts index 11402e390..caf2714e9 100644 --- a/api_generator/src/renderers/render_types/TypesFileRenderder.ts +++ b/api_generator/src/renderers/render_types/TypesFileRenderder.ts @@ -5,6 +5,7 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * */ import BaseRenderer from '../BaseRenderer' diff --git a/api_generator/src/spec_parser/ApiFunction.ts b/api_generator/src/spec_parser/ApiFunction.ts index 0d5a91ac2..3b3eda61a 100644 --- a/api_generator/src/spec_parser/ApiFunction.ts +++ b/api_generator/src/spec_parser/ApiFunction.ts @@ -5,6 +5,7 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * */ import _ from 'lodash' diff --git a/api_generator/src/spec_parser/Namespace.ts b/api_generator/src/spec_parser/Namespace.ts index 9558f1b55..556d4ffff 100644 --- a/api_generator/src/spec_parser/Namespace.ts +++ b/api_generator/src/spec_parser/Namespace.ts @@ -5,6 +5,7 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * */ import ApiFunction from './ApiFunction' diff --git a/api_generator/src/spec_parser/OperationParser.ts b/api_generator/src/spec_parser/OperationParser.ts index bd1940eee..ecb6e8e32 100644 --- a/api_generator/src/spec_parser/OperationParser.ts +++ b/api_generator/src/spec_parser/OperationParser.ts @@ -5,6 +5,7 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * */ import type * as t from './types' diff --git a/api_generator/src/spec_parser/types.ts b/api_generator/src/spec_parser/types.ts index 37e3a23c4..50c483429 100644 --- a/api_generator/src/spec_parser/types.ts +++ b/api_generator/src/spec_parser/types.ts @@ -5,6 +5,7 @@ * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. + * */ import { type JSONSchema7 as Schema } from 'json-schema'