Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 989 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 989 Bytes

@wrtnlabs/schema

GitHub license npm version Downloads Build Status

Extension of @samchon/openapi adding plugin properties.

You can see the plugin properties in the src/index.ts file.

import { OpenApi.IJsonSchema } from "@samchon/openapi";
import "@wrtnlabs/schema";

const schema: OpenApi.IJsonSchema = {
  type: "string",
  format: "email",
  "x-wrtn-placeholder": "Insert your email address please",
};