Crypto Server
    Preparing search index...

    Function withEncodings

    • Put contentEncoding back on every hex and base64 string schema. @fastify/swagger drops the keyword while converting route schemas (base64 becomes format: byte), but OpenAPI 3.1 is JSON Schema 2020-12, where contentEncoding is how a generator learns a string's codec. Returns a copy.

      Parameters

      • value: unknown

      Returns unknown