Skip to content

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
A-Kurimoto committed Oct 21, 2019
1 parent e70735e commit 954c741
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,41 +88,41 @@ const targetModel = modelOptions.find(modelOption => modelOption.modelName === '

```json
{
contentType: 'application/json',
modelName: 'SampleIf',
schema: {
schema: 'http://json-schema.org/draft-04/schema#',
type: 'object',
properties: {
param1: {type: 'string', description: 'jsDoc of param1'},
param2: {type: 'number', description: 'jsDoc of param2'},
param3: {type: 'boolean', description: 'No description.'},
param4: {
type: 'array',
description: 'No description.',
items: {type: 'string'}
"contentType": "application/json",
"modelName": "SampleIf",
"schema": {
"schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"param1": {"type": "string", "description": "jsDoc of param1"},
"param2": {"type": "number", "description": "jsDoc of param2"},
"param3": {"type": "boolean", "description": "No description."},
"param4": {
"type": "array",
"description": "No description.",
"items": {"type": "string"}
},
param5: {
type: 'array',
description: 'No description.',
items: {type: 'number'}
"param5": {
"type": "array",
"description": "No description.",
"items": {"type": "number"}
},
param6: {
type: 'array',
description: 'No description.',
items: {type: 'boolean'}
"param6": {
"type": "array",
"description": "No description.",
"items": {"type": "boolean"}
},
param7: {
type: 'object',
description: 'No description.',
properties: {subParam1: {type: 'string', description: 'No description.'}}
"param7": {
"type": "object",
"description": "No description.",
"properties": {"subParam1": {"type": "string", "description": "No description."}}
},
param8: {
type: 'array',
description: 'No description.',
items: {
type: 'object',
properties: {subParam1: {type: 'string', description: 'No description.'}}
"param8": {
"type": "array",
"description": "No description.",
"items": {
"type": "object",
"properties": {"subParam1": {"type": "string", "description": "No description."}}
}
}
}
Expand Down

0 comments on commit 954c741

Please sign in to comment.