Open
Description
I write string array schema with description, but it isn't in parsed typescript.
please update typescript with description.
if you not have time to update, please comment to me for push request this issue.
this is example for this issue, yaml json schema
$schema: http://json-schema.org/draft-07/schema#
title: peoples
type: array
description: |
@group Shared/QueryString
@description <adult>,<child age>|<child age>
items:
type: string
description: |
@group Shared/QueryString/REGEXP
@description travel peoples QueryString(<adult>,<child age>|<child age>|...)
pattern: "^\\d+,(?:\\d+)(?:-\\d+)*$"
examples:
- "2,5-7"
- "1,3-4-5"
this is parsed schema to typescript
/**
* @group Shared/QueryString
* @description <adult>,<child age>|<child age>
*/
export type Peoples = string[];
Metadata
Metadata
Assignees
Labels
No labels