diff --git a/README.md b/README.md index f4ad1bf..f429e2f 100644 --- a/README.md +++ b/README.md @@ -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."}} } } }