norn-cli 1.3.18 → 1.3.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,24 @@
2
2
 
3
3
  All notable changes to the "Norn" extension will be documented in this file.
4
4
 
5
+ ## [1.3.19] - 2026-02-15
6
+
7
+ ### Added
8
+ - **Swagger Request Body IntelliSense (Endpoint Calls)**:
9
+ - Added request body template insertion for `POST`/`PUT`/`PATCH` endpoint calls backed by Swagger metadata.
10
+ - Added inline JSON key suggestions inside request bodies using cached Swagger request schemas.
11
+ - Added persistent request-schema cache in `.norn-cache/swagger-body-intellisense.json`.
12
+
13
+ ### Improved
14
+ - **Swagger Schema Cache Availability**:
15
+ - Extension now warms request-body schema cache from `.nornapi` `swagger` URLs on startup and on `.nornapi` save.
16
+
17
+ ### Fixed
18
+ - **Request Body Completions**:
19
+ - Fixed endpoint-to-swagger path mapping when endpoint URLs use variable prefixes like `{{baseUrl}}/...`.
20
+ - Fixed body-start completion filtering so template suggestions appear reliably when typing `{` / `[`.
21
+ - Fixed template insertion indentation and fallback behavior when schema has no required fields.
22
+
5
23
  ## [1.3.18] - 2026-02-15
6
24
 
7
25
  ### Improved
package/README.md CHANGED
@@ -31,7 +31,7 @@ A powerful REST client extension for VS Code with sequences, assertions, environ
31
31
  - **Response Comparison**: Compare any two API responses side-by-side with VS Code's diff view
32
32
  - **Clickable JSON**: Click any JSON value in the response panel to auto-generate assertions
33
33
  - **Syntax Highlighting**: Full syntax highlighting for requests, headers, JSON bodies
34
- - **IntelliSense**: Autocomplete for HTTP methods, headers, variables, and keywords
34
+ - **IntelliSense**: Autocomplete for HTTP methods, headers, variables, keywords, and Swagger-based request body keys/templates for endpoint POST/PUT/PATCH calls
35
35
  - **Diagnostics**: Error highlighting for undefined variables
36
36
  - **CLI**: Run tests from terminal with JUnit/HTML reports for CI/CD automation
37
37
 
@@ -105,6 +105,8 @@ Content-Type: application/json
105
105
  }
106
106
  ```
107
107
 
108
+ If the request uses an imported endpoint (`POST/PUT/PATCH EndpointName`) backed by a cached Swagger spec, typing `{` on the body line offers **Insert request body template** (required fields only). As you type JSON keys, IntelliSense suggests schema properties for that object.
109
+
108
110
  ### Sequences (Chained Requests)
109
111
 
110
112
  Chain multiple requests and capture response data:
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "norn-cli",
3
3
  "displayName": "Norn - REST Client",
4
4
  "description": "A powerful REST client for making HTTP requests with sequences, variables, scripts, and cookie support",
5
- "version": "1.3.18",
5
+ "version": "1.3.19",
6
6
  "publisher": "Norn-PeterKrustanov",
7
7
  "author": {
8
8
  "name": "Peter Krastanov"