From bb136783a303fcb304f3c0704bb965ccf46ee230 Mon Sep 17 00:00:00 2001 From: Jaanus Sellin Date: Tue, 24 Oct 2023 13:22:49 +0300 Subject: [PATCH] bug: fix broken links from lychee (#5127) Fixed https://github.com/Unleash/unleash/issues/5115 --- .lycheeignore | 2 ++ src/lib/openapi/spec/application-schema.ts | 2 +- src/lib/openapi/spec/create-application-schema.ts | 2 +- src/lib/openapi/spec/reset-password-schema.ts | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.lycheeignore b/.lycheeignore index 7f737b390832..cc2e0e93868f 100644 --- a/.lycheeignore +++ b/.lycheeignore @@ -1,11 +1,13 @@ dev-example-okta.com .*-dsn.algolia.net www.linkedin.com/company/getunleash +www.linkedin.com/in/* www.instagram.com/getunleash twitter.com/getunleash .*.unleash.host.*.com.* unleash.*.com/api/ +unleash.*.com secure-unleash.herokuapp.com localhost diff --git a/src/lib/openapi/spec/application-schema.ts b/src/lib/openapi/spec/application-schema.ts index 0ad18a7f8bdc..0874e13d89bb 100644 --- a/src/lib/openapi/spec/application-schema.ts +++ b/src/lib/openapi/spec/application-schema.ts @@ -39,7 +39,7 @@ export const applicationSchema = { description: 'A link to reference the application reporting the metrics. Could for instance be a GitHub link to the repository of the application', type: 'string', - example: 'https://github.com/Unleash/unleash-client-proxy-js', + example: 'https://github.com/Unleash/unleash-proxy-client-js', }, color: { description: `The CSS color that is used to color the application's entry in the application list`, diff --git a/src/lib/openapi/spec/create-application-schema.ts b/src/lib/openapi/spec/create-application-schema.ts index fa270be26886..8a849824c8b1 100644 --- a/src/lib/openapi/spec/create-application-schema.ts +++ b/src/lib/openapi/spec/create-application-schema.ts @@ -29,7 +29,7 @@ export const createApplicationSchema = { description: 'A link to reference the application reporting the metrics. Could for instance be a GitHub link to the repository of the application', type: 'string', - example: 'https://github.com/Unleash/unleash-client-proxy-js', + example: 'https://github.com/Unleash/unleash-proxy-client-js', }, color: { description: `Css color to be used to color the application's entry in the application list`, diff --git a/src/lib/openapi/spec/reset-password-schema.ts b/src/lib/openapi/spec/reset-password-schema.ts index 54f1d6674340..d42859555bc6 100644 --- a/src/lib/openapi/spec/reset-password-schema.ts +++ b/src/lib/openapi/spec/reset-password-schema.ts @@ -12,7 +12,7 @@ export const resetPasswordSchema = { 'A URL pointing to a location where the user can reset their password', type: 'string', format: 'uri', - example: 'https://reset.password.com', + example: 'https://unleash.reset.com', }, }, components: {},