Skip to content

Commit

Permalink
address nit
Browse files Browse the repository at this point in the history
  • Loading branch information
jloleysens committed May 23, 2024
1 parent b42e0e7 commit acb66f1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import Joi from 'joi';
import joiToJsonParse from 'joi-to-json';
import type { OpenAPIV3 } from 'openapi-types';
import _ from 'lodash';
import { omit } from 'lodash';
import { createCtx, postProcessMutations } from './post_process_mutations';
import type { IContext } from './post_process_mutations';

Expand Down Expand Up @@ -42,7 +42,7 @@ export const parse = ({ schema, ctx = createCtx() }: ParseArgs) => {
postProcessMutations({ schema: s, ctx });
ctx.addSharedSchema(id, s);
});
result = _.omit(parsed, 'schemas');
result = omit(parsed, 'schemas');
} else {
result = parsed;
}
Expand Down

0 comments on commit acb66f1

Please sign in to comment.