docusaurus-plugin-openapi-docs
Version:
OpenAPI plugin for Docusaurus.
15 lines (14 loc) • 712 B
JavaScript
;
/* ============================================================================
* Copyright (c) Palo Alto Networks
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* ========================================================================== */
Object.defineProperty(exports, "__esModule", { value: true });
exports.sampleResponseFromSchema = void 0;
const createSchemaExample_1 = require("./createSchemaExample");
const sampleResponseFromSchema = (schema = {}) => {
return (0, createSchemaExample_1.sampleFromSchema)(schema, { type: "response" });
};
exports.sampleResponseFromSchema = sampleResponseFromSchema;