Skip to content

Commit

Permalink
chore(openapi): export OpenAPIValidatorMiddlewareError (#448)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkurapov authored Mar 28, 2024
1 parent d4df546 commit dd7fb76
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/lazy-phones-sniff.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@interledger/openapi': patch
---

- Exporting `OpenAPIValidatorMiddlewareError` from package
5 changes: 4 additions & 1 deletion packages/openapi/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ import OpenAPIResponseValidator, {
} from 'openapi-response-validator'
import { OpenAPIV3, OpenAPIV3_1 } from 'openapi-types'

export { createValidatorMiddleware } from './middleware'
export {
createValidatorMiddleware,
OpenAPIValidatorMiddlewareError
} from './middleware'

export const HttpMethod = {
...OpenAPIV3.HttpMethods
Expand Down

0 comments on commit dd7fb76

Please sign in to comment.