@@ -58,7 +58,7 @@ The `Client.aplc` file contains the main client class that serves as the entry p
5858 :field public Initialised←0
5959
6060 ∇ (rc msg)←Initialise
61- ⍝ Initialize HttpCommand
61+ ⍝ ←Initialise HttpCommand
6262 ⍝ Checks parent namespace
6363 ∇
6464:EndClass
@@ -95,8 +95,8 @@ Each API operation generates an individual namespace containing helper functions
9595 ∇
9696
9797 ∇ r←parseResponse response
98- ⍝ Parse HTTP response based on status code
99- ⍝ HttpCommand automatically parses JSON
98+ ⍝ HttpCommand returns the response body already JSON-decoded (if applicable)
99+ ⍝ This function interprets that data per status code and maps it to models or errors
100100 ⍝ Returns: Parsed data or error information
101101 ∇
102102:EndNamespace
@@ -152,7 +152,7 @@ Data models are generated from OpenAPI schemas:
152152### Model Features
153153
154154- ** Type Annotations** : Comments document field types and requirements
155- - ** Namespace Constructor** : Accepts a namespace to initialize fields
155+ - ** Namespace Constructor** : Accepts a namespace to initialise fields
156156- ** FormatNS Method** : Builds namespace for JSON serialization, excluding undefined fields
157157- ** Helper Functions** : ` isVarDefined ` checks field existence
158158- ** Nested Objects** : Reference types point to other model classes
@@ -174,7 +174,7 @@ The generated client surfaces errors through HTTP status codes and the `HttpComm
174174- Each operation's ` parseResponse ` handles expected status codes
175175- HttpCommand provides ` HttpStatus ` field for checking responses
176176- Error responses are returned as-is (pre-parsed by HttpCommand)
177- - Client code should check ` resp .statusCode` (if using syncDetailed) to determine success/failure
177+ - Client code should check ` result .statusCode` (if using syncDetailed) to determine success/failure
178178
179179## Customization
180180
0 commit comments