From 17bf97effcd0ed91614b455896af9bc370223bc9 Mon Sep 17 00:00:00 2001 From: rusirijayodaillesinghe Date: Wed, 13 Nov 2024 11:27:32 +0530 Subject: [PATCH 1/2] Fix broken links --- .../json-schema-validator.md | 4 ++-- .../authorization/publisher-portal-in-read-only-mode.md | 2 +- en/docs/design/endpoints/resiliency/endpoint-timeouts.md | 2 +- en/docs/includes/design/create-graphql-api.md | 2 +- .../keystore-basics/creating-new-keystores.md | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/en/docs/design/api-security/api-request-response-schema-validation/json-schema-validator.md b/en/docs/design/api-security/api-request-response-schema-validation/json-schema-validator.md index 14879109f1..7738549a62 100644 --- a/en/docs/design/api-security/api-request-response-schema-validation/json-schema-validator.md +++ b/en/docs/design/api-security/api-request-response-schema-validation/json-schema-validator.md @@ -24,7 +24,7 @@ The following diagram illustrates the message flow when sending an invalid reque **Example:** -The following is an invalid request based on the [Petstore API](https://github.com/OAI/OpenAPI-Specification/blob/master/examples/v2.0/json/petstore.json). +The following is an invalid request based on the [Petstore API](https://github.com/OAI/learn.openapis.org/blob/main/examples/v2.0/json/petstore.json). ``` curl -X POST "https://localhost:8243/rfrf/1.0.0/pet" -H "accept: */*" -H "Content-Type: application/json" -H "Authorization: Bearer c06e0cb0-af4a-3e5e-b8c3-99449ff7e3e5" -d "{\"id\":0,\"category\":{\"id\":0,\"name\":\"string\"},\"name\":\"doggie\",\"photoUrls\":[\"string\"],\"tags\":[{\"id\":0,\"name\":\"string\"}],\"status\":\"available\"}" @@ -56,7 +56,7 @@ The following diagram illustrates the message flow when sending an invalid respo **Example** -The following is a sample request from the client based on the [Petstore API](https://github.com/OAI/OpenAPI-Specification/blob/main/tests/v3.0/pass/petstore.yaml). +The following is a sample request from the client based on the [Petstore API](https://github.com/OAI/learn.openapis.org/blob/main/examples/v2.0/json/petstore.json). ``` curl -X GET "https://localhost:8243/PetstoreAPI/1.0.0/pets/1" -H "accept: application/xml" -H "Authorization: Bearer c06e0cb0-af4a-3e5e-b8c3-99449ff7e3e5" diff --git a/en/docs/design/api-security/authorization/publisher-portal-in-read-only-mode.md b/en/docs/design/api-security/authorization/publisher-portal-in-read-only-mode.md index e802d78cc1..44ecaf95fd 100644 --- a/en/docs/design/api-security/authorization/publisher-portal-in-read-only-mode.md +++ b/en/docs/design/api-security/authorization/publisher-portal-in-read-only-mode.md @@ -18,7 +18,7 @@ Follow the instructions below to create a Read only user: 2. Create a user (Chris) and assign the **observer** default role. - [![Read-only user creation]({{base_path}}/assets/img/learn/api-security/assign-role-to-user.png){: style="width:70%"}](({{base_path}}/assets/img/learn/api-security/assign-role-to-user.png)) + [![Read-only user creation]({{base_path}}/assets/img/learn/api-security/assign-role-to-user.png){: style="width:70%"}]({{base_path}}/assets/img/learn/api-security/assign-role-to-user.png) 3. Click **Finish**. diff --git a/en/docs/design/endpoints/resiliency/endpoint-timeouts.md b/en/docs/design/endpoints/resiliency/endpoint-timeouts.md index 7883e05a91..ee9dc55afc 100644 --- a/en/docs/design/endpoints/resiliency/endpoint-timeouts.md +++ b/en/docs/design/endpoints/resiliency/endpoint-timeouts.md @@ -35,7 +35,7 @@ The following are Advanced Endpoint Configurations that you can configure for bo

If you want to configure the suspension of an endpoint, you can use the Endpoint Suspension State section to define the error codes, maximum suspension time, and suspension factors.