Skip to content

Commit

Permalink
chore(parser): move allowed service methods array
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanshatford committed Mar 27, 2024
1 parent 394a26b commit bf9627b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/openApi/v3/parser/getServices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import type { Operation, Service } from '../../common/interfaces/client';
import type { OpenApi } from '../interfaces/OpenApi';
import { getOperationParameters } from './getOperationParameters';
import { getOperation } from './operation';
import { allowedServiceMethods } from './service';

const allowedServiceMethods = ['delete', 'get', 'head', 'options', 'patch', 'post', 'put'] as const;

const getNewService = (operation: Operation): Service => ({
$refs: [],
Expand Down
1 change: 0 additions & 1 deletion src/openApi/v3/parser/service.ts

This file was deleted.

0 comments on commit bf9627b

Please sign in to comment.