exports.createProductSizeSchema = {
tags: ["Product Size"],
summary: "This API is used to create Product Sizes",
description: "productSize should be Unique",
headers: { $ref: "headers#" }
}
But while generating the definition, enum value is not coming up. PFB the screenshot
Could you please let me know what I am doing wrong here?
Steps to Reproduce
Create a fastify instance and on registering plugins
Prerequisites
Fastify version
3.29.0
Plugin version
6.1.1
Node.js version
14.17
Operating system
macOS
Operating system version (i.e. 20.04, 11.3, 10)
13.0.1
Description
I have defined my schema for the headers like below.
I have defined my schema for the headers like below.
And added in one of my request header like
But while generating the definition, enum value is not coming up. PFB the screenshot
Could you please let me know what I am doing wrong here?
Steps to Reproduce
Expected Behavior
Expecting a response like