mirror of
https://github.com/LukeHagar/openapi-types.git
synced 2025-12-10 04:20:40 +00:00
Prettier formatting
This commit is contained in:
@@ -66,66 +66,66 @@ import type { XML } from "../xml";
|
||||
* ```
|
||||
*/
|
||||
export interface BooleanSchema extends Extension {
|
||||
/**
|
||||
* The type identifier for boolean schemas.
|
||||
* Must be "boolean".
|
||||
*/
|
||||
type: "boolean";
|
||||
/**
|
||||
* The type identifier for boolean schemas.
|
||||
* Must be "boolean".
|
||||
*/
|
||||
type: "boolean";
|
||||
|
||||
/**
|
||||
* An array of allowed values for the boolean.
|
||||
* The value must be one of the values in this array.
|
||||
*
|
||||
* Example: `[true, false]`
|
||||
*/
|
||||
enum?: boolean[];
|
||||
/**
|
||||
* An array of allowed values for the boolean.
|
||||
* The value must be one of the values in this array.
|
||||
*
|
||||
* Example: `[true, false]`
|
||||
*/
|
||||
enum?: boolean[];
|
||||
|
||||
/**
|
||||
* A single allowed value for the boolean.
|
||||
* The value must be exactly this value.
|
||||
*
|
||||
* Example: `true`
|
||||
*/
|
||||
const?: boolean;
|
||||
/**
|
||||
* A single allowed value for the boolean.
|
||||
* The value must be exactly this value.
|
||||
*
|
||||
* Example: `true`
|
||||
*/
|
||||
const?: boolean;
|
||||
|
||||
/**
|
||||
* An array of example values for the boolean.
|
||||
* These are for documentation purposes only.
|
||||
*
|
||||
* Example: `[true, false]`
|
||||
*/
|
||||
examples?: boolean[];
|
||||
/**
|
||||
* An array of example values for the boolean.
|
||||
* These are for documentation purposes only.
|
||||
*
|
||||
* Example: `[true, false]`
|
||||
*/
|
||||
examples?: boolean[];
|
||||
|
||||
/**
|
||||
* The default value for the boolean.
|
||||
* This value will be used if no value is provided.
|
||||
*
|
||||
* Example: `false`
|
||||
*/
|
||||
default?: boolean;
|
||||
/**
|
||||
* The default value for the boolean.
|
||||
* This value will be used if no value is provided.
|
||||
*
|
||||
* Example: `false`
|
||||
*/
|
||||
default?: boolean;
|
||||
|
||||
/**
|
||||
* A short title for the schema.
|
||||
* This is for documentation purposes only.
|
||||
*
|
||||
* Example: `"Is Active"`
|
||||
*/
|
||||
title?: string;
|
||||
/**
|
||||
* A short title for the schema.
|
||||
* This is for documentation purposes only.
|
||||
*
|
||||
* Example: `"Is Active"`
|
||||
*/
|
||||
title?: string;
|
||||
|
||||
/**
|
||||
* A description of the schema.
|
||||
* CommonMark syntax MAY be used for rich text representation.
|
||||
*
|
||||
* Example: `"Whether the user is active"`
|
||||
*/
|
||||
description?: string;
|
||||
/**
|
||||
* A description of the schema.
|
||||
* CommonMark syntax MAY be used for rich text representation.
|
||||
*
|
||||
* Example: `"Whether the user is active"`
|
||||
*/
|
||||
description?: string;
|
||||
|
||||
/**
|
||||
* XML representation metadata for the schema.
|
||||
* Allows for fine-tuned XML model definitions using the modernized
|
||||
* nodeType approach in OpenAPI 3.2.0.
|
||||
*
|
||||
* Example: `{ nodeType: "element", name: "isActive" }`
|
||||
*/
|
||||
xml?: XML;
|
||||
/**
|
||||
* XML representation metadata for the schema.
|
||||
* Allows for fine-tuned XML model definitions using the modernized
|
||||
* nodeType approach in OpenAPI 3.2.0.
|
||||
*
|
||||
* Example: `{ nodeType: "element", name: "isActive" }`
|
||||
*/
|
||||
xml?: XML;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user