From 0dc31e6c47b526ed9efce548037b33fce6e515e2 Mon Sep 17 00:00:00 2001 From: Ahmad Nassri Date: Tue, 23 Jul 2024 15:19:48 -0400 Subject: [PATCH] feat: include new rapidoc attributes --- README.md | 4 ++-- docs/README.md | 4 ++-- src/index.html | 28 +++++++++++++++++++++------- 3 files changed, 25 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 8942a88..1f73251 100644 --- a/README.md +++ b/README.md @@ -67,9 +67,9 @@ services: theme: dark ``` - [RapiDoc]: https://github.com/mrin9/RapiDoc + [RapiDoc]: https://rapidocweb.com/ [`serve-reload-replace`]: https://github.com/ahmadnassri/node-serve-reload-replace - [RapiDoc Attributes]: https://mrin9.github.io/RapiDoc/api.html + [RapiDoc Attributes]: https://rapidocweb.com/api.html ---- > Author: [Ahmad Nassri](https://www.ahmadnassri.com/) • diff --git a/docs/README.md b/docs/README.md index fe17f08..fa0e46b 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,6 +1,6 @@ ## Features -a [RapiDoc](https://github.com/mrin9/RapiDoc) server that watches for changes in your spec file and automatically reloads connected browser sessions with ever spec file change. +a [RapiDoc](https://rapidocweb.com/) server that watches for changes in your spec file and automatically reloads connected browser sessions with ever spec file change. > _**Note**: uses [`serve-reload-replace`](https://github.com/ahmadnassri/node-serve-reload-replace) under the hood to run the HTTP server, and monitor changes_ @@ -26,7 +26,7 @@ $ docker run -it -p 8080:8080 -e "spec-url=https://petstore.swagger.io/v2/swagge ### RapiDoc Attributes -All the [RapiDoc Attributes](https://mrin9.github.io/RapiDoc/api.html) are supported through environment variables: +All the [RapiDoc Attributes](https://rapidocweb.com/api.html) are supported through environment variables: ```bash $ docker run -it --rm -p 8080:8080 \ diff --git a/src/index.html b/src/index.html index 4140d3f..5578de9 100644 --- a/src/index.html +++ b/src/index.html @@ -10,37 +10,41 @@ " + update-route="" + sort-schemas="" sort-tags="" sort-endpoints-by="" heading-text="" goto-path="" + fill-request-fields-with-example="" + persist-auth="" theme="" bg-color="" text-color="" header-color="" primary-color="" + load-fonts="" regular-font="" mono-font="" font-size="" + css-file="" + css-classes="" + show-method-in-nav-bar="" use-path-in-nav-bar="" nav-bg-color="" - nav-bg-image="" - nav-bg-image-size="" - nav-bg-image-repeat="" nav-text-color="" nav-hover-bg-color="" nav-hover-text-color="" nav-accent-color="" + nav-accent-text-color="" + nav-active-item-marker="" nav-item-spacing="" + on-nav-tag-click="" layout="" render-style="" - schema-style="" - schema-expand-level="" - schema-description-expanded="" - default-schema-tab="" response-area-height="" show-info="" @@ -53,13 +57,23 @@ allow-search="" allow-advance-search="" allow-try="" + show-curl-before-try="" allow-server-selection="" + allow-schema-description-expand-toggle="" + + schema-style="" + schema-expand-level="" + schema-description-expanded="" + schema-hide-read-only="" + schema-hide-write-only="" + default-schema-tab="" server-url="" default-api-server="" api-key-name="" api-key-location="" api-key-value="" + fetch-credentials="" >