Skip to content

Commit 139d39e

Browse files
committed
chore: update comments for ie
1 parent 2b9c9cd commit 139d39e

13 files changed

Lines changed: 16 additions & 16 deletions

File tree

docs/openapi-ts/integrations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Personal API keys can't be used to upload specifications.
8787
#### `GITHUB_TOKEN`
8888

8989
This variable will be available inside your workflow by default. It's used to
90-
fetch information about your repository, i.e. default branch.
90+
fetch information about your repository, i.e., default branch.
9191

9292
## Generate Clients
9393

packages/custom-client/src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ export const mergeHeaders = (
300300
mergedHeaders.append(key, v as string);
301301
}
302302
} else if (value !== undefined) {
303-
// assume object headers are meant to be JSON stringified, i.e. their
303+
// assume object headers are meant to be JSON stringified, i.e., their
304304
// content value in OpenAPI specification is 'application/json'
305305
mergedHeaders.set(
306306
key,

packages/json-schema-ref-parser/src/bundle.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ const getContainerTypeFromPath = (
9292
};
9393

9494
/**
95-
* Inventories the given JSON Reference (i.e. records detailed information about it so we can
95+
* Inventories the given JSON Reference (i.e., records detailed information about it so we can
9696
* optimize all $refs in the schema), and then crawls the resolved value.
9797
*/
9898
const inventory$Ref = <S extends object = JSONSchema>({
@@ -214,9 +214,9 @@ const inventory$Ref = <S extends object = JSONSchema>({
214214

215215
const newEntry: InventoryEntry = {
216216
$ref, // The JSON Reference (e.g., {$ref: string})
217-
circular: pointer.circular, // Is this $ref pointer DIRECTLY circular? (i.e. it references itself)
217+
circular: pointer.circular, // Is this $ref pointer DIRECTLY circular? (i.e., it references itself)
218218
depth, // How far from the JSON Schema root is this $ref pointer?
219-
extended, // Does this $ref extend its resolved value? (i.e. it has extra properties, in addition to "$ref")
219+
extended, // Does this $ref extend its resolved value? (i.e., it has extra properties, in addition to "$ref")
220220
external, // Does this $ref pointer point to a file other than the main JSON Schema file?
221221
file, // The file that the $ref pointer resolves to
222222
hash, // The hash within `file` that the $ref pointer resolves to
@@ -570,7 +570,7 @@ function remap(parser: $RefParser, inventory: Array<InventoryEntry>) {
570570
}
571571

572572
// Keep internal refs internal. However, if the $ref extends the resolved value
573-
// (i.e. it has additional properties in addition to "$ref"), then we must
573+
// (i.e., it has additional properties in addition to "$ref"), then we must
574574
// preserve the original $ref rather than rewriting it to the resolved hash.
575575
if (!entry.external) {
576576
if (!entry.extended && entry.$ref && typeof entry.$ref === 'object') {

packages/json-schema-ref-parser/src/dereference.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ function dereference$Ref<S extends object = JSONSchema>(
226226
}
227227

228228
if (directCircular) {
229-
// The pointer is a DIRECT circular reference (i.e. it references itself).
229+
// The pointer is a DIRECT circular reference (i.e., it references itself).
230230
// So replace the $ref path with the absolute path from the JSON Schema root
231231
dereferencedValue.$ref = pathFromRoot;
232232
}

packages/openapi-ts-tests/main/test/custom/client/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ export const mergeHeaders = (
289289
mergedHeaders.append(key, v as string);
290290
}
291291
} else if (value !== undefined) {
292-
// assume object headers are meant to be JSON stringified, i.e. their
292+
// assume object headers are meant to be JSON stringified, i.e., their
293293
// content value in OpenAPI specification is 'application/json'
294294
mergedHeaders.set(
295295
key,

packages/openapi-ts/src/plugins/@hey-api/client-angular/bundle/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ export const mergeHeaders = (
296296
mergedHeaders = mergedHeaders.append(key, v as string);
297297
}
298298
} else if (value !== undefined) {
299-
// assume object headers are meant to be JSON stringified, i.e. their
299+
// assume object headers are meant to be JSON stringified, i.e., their
300300
// content value in OpenAPI specification is 'application/json'
301301
mergedHeaders = mergedHeaders.set(
302302
key,

packages/openapi-ts/src/plugins/@hey-api/client-axios/bundle/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ export const mergeHeaders = (
190190
mergedHeaders[key] = [...(mergedHeaders[key] ?? []), v as string];
191191
}
192192
} else if (value !== undefined) {
193-
// assume object headers are meant to be JSON stringified, i.e. their
193+
// assume object headers are meant to be JSON stringified, i.e., their
194194
// content value in OpenAPI specification is 'application/json'
195195
mergedHeaders[key] = typeof value === 'object' ? JSON.stringify(value) : (value as string);
196196
}

packages/openapi-ts/src/plugins/@hey-api/client-core/bundle/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export function getValidRequestBody(options: {
124124
return hasSerializedBody ? options.serializedBody : null;
125125
}
126126

127-
// not all clients implement a serializedBody property (i.e. client-axios)
127+
// not all clients implement a serializedBody property (i.e., client-axios)
128128
return options.body !== '' ? options.body : null;
129129
}
130130

packages/openapi-ts/src/plugins/@hey-api/client-fetch/bundle/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ export const mergeHeaders = (
202202
mergedHeaders.append(key, v as string);
203203
}
204204
} else if (value !== undefined) {
205-
// assume object headers are meant to be JSON stringified, i.e. their
205+
// assume object headers are meant to be JSON stringified, i.e., their
206206
// content value in OpenAPI specification is 'application/json'
207207
mergedHeaders.set(
208208
key,

packages/openapi-ts/src/plugins/@hey-api/client-next/bundle/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ export const mergeHeaders = (
311311
mergedHeaders.append(key, v as string);
312312
}
313313
} else if (value !== undefined) {
314-
// assume object headers are meant to be JSON stringified, i.e. their
314+
// assume object headers are meant to be JSON stringified, i.e., their
315315
// content value in OpenAPI specification is 'application/json'
316316
mergedHeaders.set(
317317
key,

0 commit comments

Comments
 (0)