Skip to content

Commit f78e428

Browse files
committed
Address the CRs
1 parent b3d6124 commit f78e428

File tree

3 files changed

+9
-23
lines changed

3 files changed

+9
-23
lines changed

en/docs/develop-components/develop-proxy/develop-an-api-proxy-from-a-github-repository-source.md

+4-11
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ You can create an API proxy either by selecting the source from a GitHub reposit
8080
## Step 2: Build
8181

8282
!!! info
83-
An initial build starts automatically as soon as you create the API proxy.
83+
An initial build starts automatically as soon as you create the API proxy. Also you will be redirected to the build page automatically after the creation is completed.
8484

8585
1. On the project home page, click on the `Department Service` component you created. This takes you to the component overview page.
8686
2. In the left navigation menu, click **Build**.
@@ -115,7 +115,7 @@ Choreo allows you to test your API proxy using either the [integrated OpenAPI Co
115115

116116
1. In the left navigation menu, click **Test** and then click **OpenAPI Console**.
117117
2. Select **Development** from the environment drop-down list.
118-
3. Expand the `GET /{departmentId}` resource and click **Try it Out**.
118+
3. Expand the `GET /department/{departmentId}` resource and click **Try it Out**.
119119
4. Enter `1` as the **departmentId** and click **Execute**. You will see a response similar to the following:
120120

121121
![API proxy response](../../assets/img/develop-components/develop-a-rest-api-proxy/rest-api-proxy-response.png){.cInlineImage-full}
@@ -147,18 +147,11 @@ To generate credentials for the published API and invoke it via the Choreo Devel
147147

148148
1. In the **Lifecycle** page, click **Go to Devportal**. This takes you to the `Department Service` in the Choreo Developer Portal.
149149

150-
2. **Generate Credentials**:
151-
1. In the Developer Portal left navigation menu, click **Production** under **Credentials**.
152-
2. Click **Generate Credentials**. Choreo generates new tokens and populates the **Consumer Key** and **Consumer Secret** fields.
153-
154-
!!! tip
155-
To test the API via an API test tool or through code, click **Generate Access Token** and copy the test token. Alternatively, click **cURL** and copy the generated cURL command to use via a cURL client. You do not need to generate an access token if you are testing the API via the **Try Out** capability in the Choreo Developer Portal.
156-
157-
3. **Invoke the API**:
150+
2. **Invoke the API**:
158151
1. In the Developer Portal left navigation menu, click **Try Out**.
159152
2. In the **Endpoint** list, select **Development** as the environment to try out the API.
160153
3. Click **Get Test Key** to generate an access token.
161-
4. Expand the `GET /{departmentId}` resource and click **Try it out**.
154+
4. Expand the `GET /department/{departmentId}` resource and click **Try it out**.
162155
5. Enter `1` as the **departmentId** and click **Execute**. You will see a response similar to the following:
163156

164157
![Try out response](../../assets/img/develop-components/develop-a-rest-api-proxy/try-out-response.png){.cInlineImage-full}

en/docs/develop-components/develop-proxy/develop-an-api-proxy-from-scratch.md

+4-11
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ To create an API proxy, you can either upload an OpenAPI specification or provid
3434
|-----------------|--------------------------------------------|
3535
| **Context** | `department/v1` |
3636
| **Version** | `1.0` |
37-
| **Target** | `https://samples.choreoapps.dev/company/hr/department` |
37+
| **Target** | `https://samples.choreoapps.dev/company/hr` |
3838

3939
6. Enter following details for the Component Details:
4040

@@ -92,7 +92,7 @@ Choreo allows you to test your API proxy using either the [integrated OpenAPI Co
9292

9393
1. In the left navigation menu, click **Test** and then click **OpenAPI Console**.
9494
2. Select **Development** from the environment drop-down list.
95-
3. Expand the `GET /{departmentId}` resource and click **Try it Out**.
95+
3. Expand the `GET /department/{departmentId}` resource and click **Try it Out**.
9696
4. Enter `1` as the **departmentId** and click **Execute**. You will see a response similar to the following:
9797

9898
![API proxy response](../../assets/img/develop-components/develop-a-rest-api-proxy/rest-api-proxy-response.png){.cInlineImage-full}
@@ -124,18 +124,11 @@ To generate credentials for the published API and invoke it via the Choreo Devel
124124

125125
1. In the **Lifecycle** page, click **Go to Devportal**. This takes you to the `Department Service` in the Choreo Developer Portal.
126126

127-
2. **Generate Credentials**:
128-
1. In the Developer Portal left navigation menu, click **Production** under **Credentials**.
129-
2. Click **Generate Credentials**. Choreo generates new tokens and populates the **Consumer Key** and **Consumer Secret** fields.
130-
131-
!!! tip
132-
To test the API via an API test tool or through code, click **Generate Access Token** and copy the test token. Alternatively, click **cURL** and copy the generated cURL command to use via a cURL client. You do not need to generate an access token if you are testing the API via the **Try Out** capability in the Choreo Developer Portal.
133-
134-
3. **Invoke the API**:
127+
2. **Invoke the API**:
135128
1. In the Developer Portal left navigation menu, click **Try Out**.
136129
2. In the **Endpoint** list, select **Development** as the environment to try out the API.
137130
3. Click **Get Test Key** to generate an access token.
138-
4. Expand the `GET /{departmentId}` resource and click **Try it out**.
131+
4. Expand the `GET /department/{departmentId}` resource and click **Try it out**.
139132
5. Enter `1` as the **departmentId** and click **Execute**. You will see a response similar to the following:
140133

141134
![Try out response](../../assets/img/develop-components/develop-a-rest-api-proxy/try-out-response.png){.cInlineImage-full}

en/theme/material/templates/home-page-2.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ <h1 style="font-weight: 700; font-size: 43px; line-height: 48px; padding-top: 2.
405405
</svg>
406406
</div>
407407
<div class="cText">
408-
<a href="develop-components/develop-proxy/develop-a-git-api-proxy/">Develop an API Proxy </a>
408+
<a href="develop-components/develop-proxy/develop-an-api-proxy-from-a-github-repository-source/">Develop an API Proxy </a>
409409
</div>
410410
</div>
411411
<div class="iconTextcontainer">

0 commit comments

Comments
 (0)