Skip to content

Commit

Permalink
chore: prepare to release 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ojoanalogo committed Nov 9, 2020
1 parent 1e2f67d commit 4160b14
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 Alfonso Reyes Cortés
Copyright (c) 2020 Alfonso Reyes

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,11 @@ await RedocModule.setup('/docs', app, document, redocOptions);
| hideDownloadButton | This will hide the "Download spec" button, it only hides the button | boolean |
| disableSearch | If set, the search bar will be disabled | boolean |
| onlyRequiredInSamples | Shows only required fileds in request samples | boolean |
| auth | Auth Options | AuthOptions | See AuthOptions info |
| AuthOptions info |
| enabled | If enabled, a prompt will pop out asking for authentication details, default: `false` | boolean |
| user | User name, default: `admin` | string |
| password | User password, default: `123` | string |

**Note**: If you want to change your ReDoc theme settings, take a look at the official ReDoc documentation: <https://github.com/Redocly/redoc/blob/master/src/theme.ts>

Expand Down Expand Up @@ -131,8 +136,10 @@ Bellow are a list of changes, some might go undocumented
- 1.2.1 - Updated to work with the latest version of nest swagger module
- 1.2.2 - Fixed issue with URL on windows
- 1.3.0 - Added favicon option (by @joemaidman)
- 2.0.0 - Added authentication option, fixed issues with CSP and nestjs version compatibility issues

## 📋 ToDo

- Add Fastify support
- Add the option to use a spec URL instead of document
- Fix tests
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nestjs-redoc",
"version": "2.0.2",
"version": "2.0.0",
"description": "NestJS ReDoc frontend",
"repository": "https://github.com/mxarc/nestjs-redoc",
"author": "Alfonso Reyes",
Expand Down

0 comments on commit 4160b14

Please sign in to comment.