diff --git a/CHANGELOG.md b/CHANGELOG.md index a8458ad..6bdd5b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to the "tswagger" extension will be documented in this file. Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file. +## [Unreleased] + +### Changed + +- Unnecessary to rename `pathParamName`. + ## [1.2.6] - 2024-01-10 ### Changed diff --git a/webview/src/components/TsResultModal/ResultRenameDrawer/constants.ts b/webview/src/components/TsResultModal/ResultRenameDrawer/constants.ts index 1adbb5a..6df565f 100644 --- a/webview/src/components/TsResultModal/ResultRenameDrawer/constants.ts +++ b/webview/src/components/TsResultModal/ResultRenameDrawer/constants.ts @@ -2,7 +2,7 @@ import { ApiGroupNameMapping } from '../../../../../src/types'; export type ApiGroupItemConfigType = { label: string; - key: keyof Pick; + key: keyof Pick; }; export const apiGroupItemConfigs: ApiGroupItemConfigType[] = [ @@ -10,10 +10,6 @@ export const apiGroupItemConfigs: ApiGroupItemConfigType[] = [ label: '接口方法名称', key: 'serviceName', }, - { - label: '路径参数类型名称', - key: 'pathParamName', - }, { label: '携带参数类型名称', key: 'pathQueryName',