kogosoftwarellc / open-api

A Monorepo of various packages to power OpenAPI in node
MIT License
892 stars 235 forks source link

[koa-openapi]: update `initialize` options #767

Closed medfreeman closed 3 years ago

medfreeman commented 3 years ago

Make docsPath, errorMiddleware, exposeApiDocs & securityFilter options optional. In accordance to express-openapi & the framework itself: https://github.com/kogosoftwarellc/open-api/blob/13ad704b645055d9baec6e047a2d1a1288edb538/packages/express-openapi/index.ts#L27-L35