azure-functions-nodejs-openapi icon indicating copy to clipboard operation
azure-functions-nodejs-openapi copied to clipboard

Results 4 azure-functions-nodejs-openapi issues
Sort by recently updated
recently updated
newest added

Does this work on the new v4 Programming model @aaronpowell?

Hi, I'm encountering this error trying to compile my project with version 0.4.0 of your package, with TypeScript Version 4.9.5 and strict mode on. ``` node_modules/openapi-types/dist/index.d.ts:16:28 - error TS2344: Type...

In https://github.com/aaronpowell/azure-functions-nodejs-openapi/blob/main/src/openAPIv3.ts#L29 (generateOpenApiSpec), the whole `context.res` is getting overwritten with an object containing only the response body. This makes it impossible to prepare custom response headers (for example CORS) by...

Any chance you could show an example that uses CommonJS (require) instead of import? Perhaps add a Prerequisites section to the doc, as Functions doesn't have the ability to use...