From f8bea010a3dde8f8322611a7abc0e73b7482d766 Mon Sep 17 00:00:00 2001
From: Mayank Singh <166798988+p0tat0chip@users.noreply.github.com>
Date: Fri, 28 Feb 2025 11:09:41 +0530
Subject: [PATCH 01/32] Instructions to run generated code in JS(axios, fetch)
and Go
---
.../instructions_to_run_generated_code.md | 61 ++++++++++++++++++-
1 file changed, 58 insertions(+), 3 deletions(-)
diff --git a/doc/user_guide/instructions_to_run_generated_code.md b/doc/user_guide/instructions_to_run_generated_code.md
index ab20a2e5..fb56c633 100644
--- a/doc/user_guide/instructions_to_run_generated_code.md
+++ b/doc/user_guide/instructions_to_run_generated_code.md
@@ -268,15 +268,70 @@ Here are the detailed instructions for running the generated API Dash code in **
## Go (net/http)
-TODO
+### 1. Install Go compiler
+
+- Windows and MacOS: check out the [official source](https://go.dev/doc/install)
+- Linux: Install from your distro's package manager.
+
+Verify the if go is installed:
+
+```bash
+go version
+```
+
+### 2. Create a project
+```bash
+go mod init example.com/api
+```
+
+### 3. Run the generated code
+- Paste the generated code into `main.go`.
+- Build and run by `go run main.go`.
## JavaScript (axios)
-TODO
+The generated api code can be run in browser by using the code in an html file as demonstrated below:
+
+### 1. Create the html file with generated code
+
+Create a new file `index.html`
+
+```html
+
+
+
+ Fetch Example
+
+
+
+
+
+
+
+```
+Make sure to paste the generated js code from api dash under the
+`
+```
## node.js (JavaScript, axios)
From c564b126c8695ce343a1d9eec0d7a0f1cd6b6c64 Mon Sep 17 00:00:00 2001
From: Mayank Singh <166798988+p0tat0chip@users.noreply.github.com>
Date: Fri, 28 Feb 2025 12:27:33 +0530
Subject: [PATCH 02/32] Update instructions_to_run_generated_code.md
---
doc/user_guide/instructions_to_run_generated_code.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/user_guide/instructions_to_run_generated_code.md b/doc/user_guide/instructions_to_run_generated_code.md
index fb56c633..28c51011 100644
--- a/doc/user_guide/instructions_to_run_generated_code.md
+++ b/doc/user_guide/instructions_to_run_generated_code.md
@@ -273,7 +273,7 @@ Here are the detailed instructions for running the generated API Dash code in **
- Windows and MacOS: check out the [official source](https://go.dev/doc/install)
- Linux: Install from your distro's package manager.
-Verify the if go is installed:
+Verify if go is installed:
```bash
go version
From 2cd10947b9e9984f096a16833c1b838f42d7bd8b Mon Sep 17 00:00:00 2001
From: Ashita Prasad
Date: Sat, 1 Mar 2025 11:34:41 +0530
Subject: [PATCH 03/32] Update instructions_to_run_generated_code.md
---
.../instructions_to_run_generated_code.md | 42 ++++++++++++++++---
1 file changed, 36 insertions(+), 6 deletions(-)
diff --git a/doc/user_guide/instructions_to_run_generated_code.md b/doc/user_guide/instructions_to_run_generated_code.md
index 28c51011..56bb5c7e 100644
--- a/doc/user_guide/instructions_to_run_generated_code.md
+++ b/doc/user_guide/instructions_to_run_generated_code.md
@@ -300,19 +300,19 @@ Create a new file `index.html`
- Fetch Example
+ Axios Example
```
-Make sure to paste the generated js code from api dash under the
-`
+
+
+
+ Fetch Example
+
+
+
+
+
+
```
+Make sure to paste the generated js code from api dash under the `