From 5ab25dcb5d7706a91de78e8b1465e65f9a327dbe Mon Sep 17 00:00:00 2001 From: Brandon Faulkner <12897328+bfaulk96@users.noreply.github.com> Date: Mon, 21 Feb 2022 16:57:49 -0500 Subject: [PATCH] docs: Update apiType as optional in README yaml --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9447784..3da5f1b 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ You can also run `sls generate-swagger` if you want to generate the swagger file ```yaml custom: autoswagger: - apiType: 'http' | 'httpApi' + apiType?: 'http' | 'httpApi' generateSwaggerOnDeploy?: true | false typefiles?: ['./src/types/typefile1.d.ts', './src/subfolder/helper.d.ts'] swaggerFiles?: ['./doc/endpointFromPlugin.json', './doc/iCannotPutThisInHttpEvent.json', './doc/aDefinitionWithoutTypescript.json']