Skip to content

Commit 5399f76

Browse files
authored
Merge pull request #3643 from hey-api/refactor/docs-eg
Refactor/docs eg
2 parents ebb5832 + bd8df9b commit 5399f76

877 files changed

Lines changed: 979 additions & 979 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/openapi-ts/integrations.md

Lines changed: 1 addition & 1 deletion

examples/openapi-ts-angular-common/src/client/client/utils.gen.ts

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

examples/openapi-ts-angular-common/src/client/core/types.gen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export interface Config {
8080
requestValidator?: (data: unknown) => Promise<unknown>;
8181
/**
8282
* A function transforming response data before it's returned. This is useful
83-
* for post-processing data, e.g. converting ISO strings into Date objects.
83+
* for post-processing data, e.g., converting ISO strings into Date objects.
8484
*/
8585
responseTransformer?: (data: unknown) => Promise<unknown>;
8686
/**

examples/openapi-ts-angular-common/src/client/core/utils.gen.ts

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

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

examples/openapi-ts-angular/src/client/client/utils.gen.ts

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

examples/openapi-ts-angular/src/client/core/types.gen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export interface Config {
8080
requestValidator?: (data: unknown) => Promise<unknown>;
8181
/**
8282
* A function transforming response data before it's returned. This is useful
83-
* for post-processing data, e.g. converting ISO strings into Date objects.
83+
* for post-processing data, e.g., converting ISO strings into Date objects.
8484
*/
8585
responseTransformer?: (data: unknown) => Promise<unknown>;
8686
/**

examples/openapi-ts-angular/src/client/core/utils.gen.ts

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

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

examples/openapi-ts-axios/src/client/client/utils.gen.ts

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

examples/openapi-ts-axios/src/client/core/types.gen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export interface Config {
8080
requestValidator?: (data: unknown) => Promise<unknown>;
8181
/**
8282
* A function transforming response data before it's returned. This is useful
83-
* for post-processing data, e.g. converting ISO strings into Date objects.
83+
* for post-processing data, e.g., converting ISO strings into Date objects.
8484
*/
8585
responseTransformer?: (data: unknown) => Promise<unknown>;
8686
/**

examples/openapi-ts-axios/src/client/core/utils.gen.ts

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

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

0 commit comments

Comments
 (0)