Skip to content

Commit

Permalink
feat: unnecessary to rename pathParamName
Browse files Browse the repository at this point in the history
  • Loading branch information
Orchardxyz committed Jan 11, 2024
1 parent 2fad612 commit d6a68f6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,14 @@ import { ApiGroupNameMapping } from '../../../../../src/types';

export type ApiGroupItemConfigType = {
label: string;
key: keyof Pick<ApiGroupNameMapping, 'serviceName' | 'pathParamName' | 'pathQueryName' | 'requestBodyName' | 'responseBodyName' | 'formDataName'>;
key: keyof Pick<ApiGroupNameMapping, 'serviceName' | 'pathQueryName' | 'requestBodyName' | 'responseBodyName' | 'formDataName'>;
};

export const apiGroupItemConfigs: ApiGroupItemConfigType[] = [
{
label: '接口方法名称',
key: 'serviceName',
},
{
label: '路径参数类型名称',
key: 'pathParamName',
},
{
label: '携带参数类型名称',
key: 'pathQueryName',
Expand Down

0 comments on commit d6a68f6

Please sign in to comment.