Skip to content

Commit be318fb

Browse files
committed
Update Swagger version to match package.json version
1 parent f245b22 commit be318fb

File tree

12 files changed

+20363
-20862
lines changed

12 files changed

+20363
-20862
lines changed

docs/.vitepress/config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,6 @@ export default withMermaid(
396396
{ text: 'Swagger Implementation', link: '/04-api-reference/swagger-implementation' },
397397
{ text: 'Command Flows', link: '/04-api-reference/command-flows' },
398398
{ text: 'HTTP Routes', link: '/04-api-reference/http-routes' },
399-
{ text: 'REST Endpoints', link: '/04-api-reference/endpoints' },
400399
]
401400
}
402401
],

docs/03-features/api-server/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,8 @@ print(tables)
194194

195195
# Execute query
196196
result = requests.post(
197-
'http://localhost:3010/hana/execute',
198-
json={'sql': 'SELECT * FROM MY_TABLE LIMIT 5'}
197+
'http://localhost:3010/hana/simpleQuery',
198+
json={'q': 'SELECT * FROM MY_TABLE LIMIT 5'}
199199
)
200200
print(result.json())
201201
```

docs/04-api-reference/endpoints.md

Lines changed: 0 additions & 284 deletions
This file was deleted.

docs/04-api-reference/http-routes.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This document provides comprehensive documentation for all HTTP endpoints expose
1818

1919
## Server Overview
2020

21-
The HTTP server is automatically initialized when certain CLI commands are run (e.g., `hana-cli inspectTable -o json -w`). The server:
21+
The HTTP server is automatically initialized when certain CLI commands are run (e.g., `hana-cli inspectTableUI`). The server:
2222

2323
- **Default Port**: 3010 (configurable via `PORT` environment variable or `--port` parameter)
2424
- **Base URL**: `http://localhost:3010`
@@ -707,6 +707,4 @@ export function route(app, server) {
707707

708708
## See Also
709709

710-
- [Main README](../README.md) - Project overview and CLI documentation
711-
- [Utils Documentation](../utils/README.md) - Internal utility modules
712-
- [CHANGELOG](../CHANGELOG.md) - Project change history
710+
- [CHANGELOG](../99-reference/CHANGELOG) - Project change history

docs/04-api-reference/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ HANA CLI can run as an HTTP server, exposing all commands through REST endpoints
1515

1616
- **[Swagger/OpenAPI](./swagger.md)** - Complete API specification
1717
- **[HTTP Routes](./http-routes.md)** - Web server routes and endpoints
18-
- **[REST Endpoints](./endpoints.md)** - Detailed endpoint documentation
1918

2019
## Starting the API Server
2120

@@ -66,5 +65,4 @@ See [Swagger documentation](./swagger.md) for API details.
6665
## Next Steps
6766

6867
- [Swagger API Docs](./swagger.md)
69-
- [Endpoint Reference](./endpoints.md)
7068
- [Integration Examples](/03-features/)

0 commit comments

Comments
 (0)