Skip to content

Commit

Permalink
fix(oas): address formatting issues
Browse files Browse the repository at this point in the history
closes #242
  • Loading branch information
ostridm committed Apr 22, 2024
1 parent b385fb0 commit 91f12a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions packages/oas/src/converter/DefaultConverter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,8 @@ export class DefaultConverter implements Converter {
return Object.entries(this.spec.paths).flatMap(
([path, pathMethods]: [string, PathItemObject]) =>
Object.keys(pathMethods)
.filter(
(method: string) =>
this.ALLOWED_METHODS.includes(method.toUpperCase())
.filter((method: string) =>
this.ALLOWED_METHODS.includes(method.toUpperCase())
)
.map((method) => this.createHarEntry(path, method))
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
"queryString": [],
"url": "http://localhost:8888/identity/api/auth/signup"
}
]
]

0 comments on commit 91f12a6

Please sign in to comment.