Skip to content

Commit

Permalink
Update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Aug 29, 2024
1 parent 838db9c commit 1d889bb
Show file tree
Hide file tree
Showing 6 changed files with 1,298 additions and 984 deletions.
10 changes: 0 additions & 10 deletions .eslintrc.json

This file was deleted.

4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@

## Version History

### v10.9.0

- :arrow_up: Update all deps

### v10.8.1

- :rocket: Add back Type.Any() for api.js
Expand Down
12 changes: 12 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';

export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.recommended,
{
"rules": {
"@typescript-eslint/no-explicit-any": "warn"
}
}
);
2 changes: 0 additions & 2 deletions lib/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ export default class Docs {

const pathstr = path.join('/');

// @ts-ignore
if (this.base.paths[pathstr] && this.base.paths[pathstr][parsed.method]) throw new Error(`Duplicate Path: ${parsed.method}: ${parsed.path}`);

if (!schemas.private) {
Expand Down Expand Up @@ -115,7 +114,6 @@ export default class Docs {
};
}

// @ts-ignore
this.base.paths[pathstr][parsed.method] = document;
}
}
Expand Down
Loading

0 comments on commit 1d889bb

Please sign in to comment.