Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.Type.STRING,
example: ['Name of car is required.'],
},
},
},
},
responses: {
500: {},
},
externalDocs: {
url: 'My url',
},
securityDefinitions: {
apiKeyHeader: {
type: SwaggerDefinitionConstant.Security.Type.API_KEY,
in: SwaggerDefinitionConstant.Security.In.HEADER,
name: 'apiHeader',
},
},
},
})
);
});
SwaggerDefinitionConstant.Model.Property
.Type.STRING,
example: ['Name of car is required.'],
},
},
},
},
responses: {
500: {},
},
externalDocs: {
url: 'My url',
},
securityDefinitions: {
apiKeyHeader: {
type: SwaggerDefinitionConstant.Security.Type.API_KEY,
in: SwaggerDefinitionConstant.Security.In.HEADER,
name: 'apiHeader',
},
},
},
})
);
});