buschco

Results 29 comments of buschco

If you are using `react-native` or similar environments that do no support the `crypto` API out of the box, try to install [`react-native-get-random-values polyfill`](https://github.com/uuidjs/uuid) and import it somewhere before this...

@inian is this in the behavior of HEAD request in Fastify (or in general) returning 200 even if the GET would result in 4xx? I could not find evidence for...

Unfortunately the `HEAD` route is not in the generated `static/api.json` 😕 We could raise an inssue in fastify/swagger or keep it a hidden feature.

I raised the issue -> https://github.com/fastify/fastify-swagger/issues/648 thank you 🙂

@mcollina I would love to! Can you pre someone else give me a hint where to start? I was looking into the sources and could not find a good point...

Here is the PR -> https://github.com/fastify/fastify-swagger/pull/649 I think I understand now why they where skipped. I tried to improve this, by only skipping routes that would cause a validation problem...

@Uzlopak could you please have another look?

sorry i was on vacation I will submit a updated version in the coming week 🤞

So I just pushed a new approach: As I described here https://github.com/fastify/fastify-swagger/issues/648#issuecomment-1207410705 the problem is a duplicate `operationId`. My solution now, suffixes `HEAD` routes that have an `operationId` while any...

I use `nvm`. Is the `.zshrc` not taken into account? ``` $ which node /Users/colin/.nvm/versions/node/v16.17.0/bin/node ``` In my `PATH` this (`/Users/colin/.nvm/versions/node/v16.17.0/bin/node`) is also included.