unleash-server
Version:
Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.
16 lines • 460 B
JavaScript
export const createRequestSchema = (schemaName) => {
return {
description: schemaName,
required: true,
content: {
'application/json': {
schema: {
$ref: schemaName.startsWith('#')
? schemaName
: `#/components/schemas/${schemaName}`,
},
},
},
};
};
//# sourceMappingURL=create-request-schema.js.map