Hans Klunder
Hans Klunder
@essential-randomness : see also: https://github.com/seriousme/openapi-schema-validator ;-)
Just tested, [openapi-schema-validator](https://github.com/seriousme/openapi-schema-validator) validation failed at the raw spec containing the `"$dynamicRef": "#meta"` hence it still uses a modified 3.1 schema where `"$dynamicRef": "#meta"` has been converted to `"$ref": "#/$defs/schema"`...
Hi, thanks for asking ! The challenge is indeed caused by migrating to ESM. I think there are a few options hat might solve this problem: 1. Change module format...
Ok, I tried it myself but somehow Typescript keeps generating CommonJS ```javascript "use strict"; exports.__esModule = true; var fastify_1 = require("fastify"); var fastify_openapi_glue_1 = require("fastify-openapi-glue"); // const fastifyOpenapiGlue = require("fastify-openapi-glue");...
Ok, I think I got it working. Its seems to be a quirck in Typescript :-( I followed the instructions at: https://2ality.com/2021/06/typescript-esm-nodejs.html and got after compilation in index.js: ```javascript import...
Good to read you got a solution ! I presume more people will have issues with this subject as many packages are migrating to ESM. Lets hope the Typescript team...
Hi, I haven't used tsc-esm however the README.md mentions: >You should not use this package! >Since TS 4.7 it is now possible to set the moduleResolution field to node16 or...
Good to read you got it working !
I did some more analysis by generating code for both and the `static variant` with: ``` "schema": { "type": "[object,boolean]" }, ``` and the `dynamic variant` with: ``` "schema": {...
Have a look at http://kripken.github.io/emscripten-site/docs/getting_started/Tutorial.html to see how emscripten works. It should be possible to get gnucobol to use emscripten as backend. CobolScript seems to be using its own lexer...