jmjf

Results 26 comments of jmjf

Notes on where this seems to be going in `oas2tson.ts`. `COMPONENT_REF_REGEXP` is same as in `oas2json.ts` - TODO: add paths and webhooks if needed (may not be needed). `const INVALID_JSNAME_REGEXP...

@ilteoood, @simoneb Please look at the output I'm generating and give feedback. Schema: https://github.com/jmjf/openapi-transformer-toolkit/blob/feat/make-oas2tson-broader/example/openapi_kitchen_sink.yml Output: https://github.com/jmjf/openapi-transformer-toolkit/tree/feat/make-oas2tson-broader/example/output/oas2tson Does this result seem reasonable given the constraints of JavaScript names? Comparing the schema...

[Example output](https://github.com/jmjf/openapi-transformer-toolkit/tree/feat/make-oas2tson-broader/example/output/oas2tson) now includes a `components.examples` example (used in `paths/pet put`), we can generate. `-p paths` works without listing all dependencies in the command line. To do this, `oas2tson` calls...

I think this is related to issues discussed in #305 and https://github.com/nearform/openapi-transformer-toolkit/pull/318. FWIW, my solution to this is to write query, header, etc., parameters in schemas then `$ref` the schemas...

Lint is failing in CI. When I ran lint locally on main, it failed with the same error. I'm not sure what the lint issue is.

> lint seems failing Lint fails in main (see also [this comment](https://github.com/fastify/ajv-compiler/pull/152#issuecomment-2953294554)) with the same errors. At the time I created this PR, I saw several merged PRs that had...