···8787#### `GITHUB_TOKEN`
88888989This variable will be available inside your workflow by default. It's used to
9090-fetch information about your repository, i.e. default branch.
9090+fetch information about your repository, i.e., default branch.
91919292## Generate Clients
9393
+1-1
packages/custom-client/src/utils.ts
···300300 mergedHeaders.append(key, v as string);
301301 }
302302 } else if (value !== undefined) {
303303- // assume object headers are meant to be JSON stringified, i.e. their
303303+ // 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,
+4-4
packages/json-schema-ref-parser/src/bundle.ts
···9292};
93939494/**
9595- * Inventories the given JSON Reference (i.e. records detailed information about it so we can
9595+ * 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 */
9898const inventory$Ref = <S extends object = JSONSchema>({
···214214215215 const newEntry: InventoryEntry = {
216216 $ref, // The JSON Reference (e.g., {$ref: string})
217217- circular: pointer.circular, // Is this $ref pointer DIRECTLY circular? (i.e. it references itself)
217217+ 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?
219219- extended, // Does this $ref extend its resolved value? (i.e. it has extra properties, in addition to "$ref")
219219+ 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
···570570 }
571571572572 // Keep internal refs internal. However, if the $ref extends the resolved value
573573- // (i.e. it has additional properties in addition to "$ref"), then we must
573573+ // (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') {
···226226 }
227227228228 if (directCircular) {
229229- // The pointer is a DIRECT circular reference (i.e. it references itself).
229229+ // 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 }
···289289 mergedHeaders.append(key, v as string);
290290 }
291291 } else if (value !== undefined) {
292292- // assume object headers are meant to be JSON stringified, i.e. their
292292+ // 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,
···296296 mergedHeaders = mergedHeaders.append(key, v as string);
297297 }
298298 } else if (value !== undefined) {
299299- // assume object headers are meant to be JSON stringified, i.e. their
299299+ // 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,
···190190 mergedHeaders[key] = [...(mergedHeaders[key] ?? []), v as string];
191191 }
192192 } else if (value !== undefined) {
193193- // assume object headers are meant to be JSON stringified, i.e. their
193193+ // 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 }
···202202 mergedHeaders.append(key, v as string);
203203 }
204204 } else if (value !== undefined) {
205205- // assume object headers are meant to be JSON stringified, i.e. their
205205+ // 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,
···311311 mergedHeaders.append(key, v as string);
312312 }
313313 } else if (value !== undefined) {
314314- // assume object headers are meant to be JSON stringified, i.e. their
314314+ // 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,
···286286 }
287287 } else if (value !== undefined) {
288288 const v = unwrapRefs(value);
289289- // assume object headers are meant to be JSON stringified, i.e. their
289289+ // assume object headers are meant to be JSON stringified, i.e., their
290290 // content value in OpenAPI specification is 'application/json'
291291 mergedHeaders.set(key, typeof v === 'object' ? JSON.stringify(v) : (v as string));
292292 }
···233233 mergedHeaders.append(key, v as string);
234234 }
235235 } else if (value !== undefined) {
236236- // assume object headers are meant to be JSON stringified, i.e. their
236236+ // assume object headers are meant to be JSON stringified, i.e., their
237237 // content value in OpenAPI specification is 'application/json'
238238 mergedHeaders.set(
239239 key,
+1-1
packages/shared/src/getSpec.ts
···3535 mergedHeaders.append(key, v as string);
3636 }
3737 } else if (value !== undefined) {
3838- // assume object headers are meant to be JSON stringified, i.e. their
3838+ // assume object headers are meant to be JSON stringified, i.e., their
3939 // content value in OpenAPI specification is 'application/json'
4040 mergedHeaders.set(
4141 key,