ShogunPanda / fastify-openapi-docs

A simple plugin for Fastify that generates OpenAPI spec automatically.
ISC License
27 stars 5 forks source link

feature request: option to hide `HEAD` method #8

Closed trim21 closed 1 year ago

trim21 commented 1 year ago

fastify will automatically add head router for get router, any chance to hide them in openapi, like @fastify/swagger default behavior?

ShogunPanda commented 1 year ago

Fixed in release https://github.com/ShogunPanda/fastify-openapi-docs/releases/tag/v2.2.0. See hideHead option in the README.

trim21 commented 1 year ago

Thanks!