Closed
Description
Description
openapi-typescript@7.0.0-next.5 bug:
require('openapi-typescript') cannot export the astToString method
for example: var { astToString } = require('openapi-typescript');
Paste full error message
Name | Version |
---|---|
openapi-typescript |
7.0.0-next.5 bug |
Node.js | 18 |
OS + version | Windows 10 |
Reproduction
require('openapi-typescript') cannot export the astToString method
for example: var { astToString } = require('openapi-typescript');
Expected result
require('openapi-typescript') can export the astToString method
for example: var { astToString } = require('openapi-typescript');
Checklist
- My OpenAPI schema passes the Redocly validator (
npx @redocly/cli@latest lint
) - I’m willing to open a PR (see CONTRIBUTING.md)