Skip to content

Commit 560238a

Browse files
committed
remove unwanted variables
1 parent f47f65f commit 560238a

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

packages/components/docs/API.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,6 @@ import { Parser, fromFile } from "@asyncapi/parser";
541541

542542
const parser = new Parser();
543543
const asyncapi_v3_path = path.resolve(__dirname, "../__fixtures__/asyncapi-v3.yml");
544-
let parsedAsyncAPIDocument;
545544

546545
// Parse the AsyncAPI document (async operation)
547546
const parseResult = await fromFile(parser, asyncapi_v3_path).parse();

packages/components/src/components/Models.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ import {
2020
*/
2121

2222
/**
23-
* @typedef {PythonGenerator | JavaGenerator | TypeScriptGenerator | CSharpGenerator | RustGenerator | JavaScriptGenerator} ModelinaGenerator
23+
* @typedef {PythonGenerator | JavaGenerator | TypeScriptGenerator | CSharpGenerator | RustGenerator | JavaScriptGenerator} ModelinaGeneratorClass
2424
* Represents any Modelina generator instance.
2525
*/
2626

2727
/**
2828
* Mapping of language strings to Modelina generator classes and file extensions.
29-
* @type {Record<string, { generator: ModelinaGenerator, extension: string }>}
29+
* @type {Record<string, { generator: ModelinaGeneratorClass, extension: string }>}
3030
*/
3131
const generatorConfig = {
3232
python: { generator: PythonGenerator, extension: 'py' },

packages/components/src/components/QueryParamsVariables.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ function resolveQueryParamLogic(language, framework = '') {
120120
*
121121
* const parser = new Parser();
122122
* const asyncapi_v3_path = path.resolve(__dirname, "../__fixtures__/asyncapi-v3.yml");
123-
* let parsedAsyncAPIDocument;
124123
*
125124
* // Parse the AsyncAPI document (async operation)
126125
* const parseResult = await fromFile(parser, asyncapi_v3_path).parse();

0 commit comments

Comments
 (0)