From b4c69727ecfd42a04b8e6b7881a341c883e430bc Mon Sep 17 00:00:00 2001 From: Alfonso Reyes Date: Wed, 28 Apr 2021 11:12:29 -0600 Subject: [PATCH] docs: update readme --- README.md | 5 +++++ package.json | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6b77363..b0a81be 100644 --- a/README.md +++ b/README.md @@ -122,6 +122,10 @@ await RedocModule.setup('/docs', app, document, redocOptions); | Tag Group options info | | name | Tag name | string | | tags | Tag collection | string[] | +| redocVersion | Set an specific redoc version | string,number | By default it's "latest" | + + + **Note**: If you want to change your ReDoc theme settings, take a look at the official ReDoc documentation: @@ -154,6 +158,7 @@ Bellow are a list of changes, some might go undocumented - 2.0.0 - Added authentication option, fixed issues with CSP and nestjs version compatibility issues - 2.1.0 - Added x-tagGroups extension property - 2.1.1 - Fixed CSP issue on Safari browser +- 2.2.0 - Added version property, this way you can pin redoc to a specific version ## 📋 ToDo diff --git a/package.json b/package.json index feb899b..3be9b50 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nestjs-redoc", - "version": "2.1.1", + "version": "2.2.0", "description": "NestJS ReDoc frontend", "repository": "https://github.com/mxarc/nestjs-redoc", "author": "Alfonso Reyes", @@ -69,4 +69,4 @@ "path": "./node_modules/cz-conventional-changelog" } } -} \ No newline at end of file +}