Skip to content

Addressing comment on PR #1 #10

Addressing comment on PR #1

Addressing comment on PR #1 #10

Triggered via dynamic August 23, 2025 13:45
Status Success
Total duration 6m 25s
Artifacts 1

copilot

on: dynamic
Fit to window
Zoom out
Zoom in

Annotations

2 errors
tests/spec/jsdoc-escaping/basic.test.ts > jsdoc-escaping > should escape JSDoc comment characters in descriptions: tests/spec/jsdoc-escaping/basic.test.ts#L43
Error: Snapshot `jsdoc-escaping > should escape JSDoc comment characters in descriptions 1` mismatched - Expected + Received @@ -8,19 +8,19 @@ * ## AUTHOR: acacode ## * ## SOURCE: https://github.com/acacode/swagger-typescript-api ## * --------------------------------------------------------------- */ - /** Information schema with malicious **/ window.location='http://evil.com' /** content */ + /** Information schema with malicious **\/ window.location='http://evil.com' /** content */ export interface Information { - /** The ID of the information record. Contains **/ dangerous content /** here. */ + /** The ID of the information record. Contains **\/ dangerous content /** here. */ id?: number; - /** Title field with */ and /* characters that could break comments */ + /** Title field with *\/ and /* characters that could break comments */ title?: string; /** * Multi-line description - * with */ characters + * with *\/ characters * and /* other markers * that could break JSDoc comments */ content?: string; } @@ -283,14 +283,14 @@ export class Api< SecurityDataType extends unknown, > extends HttpClient<SecurityDataType> { information = { /** - * @description Get service point file of all Nordic countries (SE,FI,DK,NO) from S3 storage. You can download previous service point file upto 7 days from current date. This is equivalent to **/information** endpoint with parameters `countryCode:SE,FI,DK,NO` and `context:ALL` and header `Accept-Encoding:gzip`. + * @description Get service point file of all Nordic countries (SE,FI,DK,NO) from S3 storage. You can download previous service point file upto 7 days from current date. This is equivalent to **\/information** endpoint with parameters `countryCode:SE,FI,DK,NO` and `context:ALL` and header `Accept-Encoding:gzip`. * * @name InformationList - * @summary Get service point file with **/ alert('XSS') /** injection attempt + * @summary Get service point file with **\/ alert('XSS') /** injection attempt * @request GET:/information */ informationList: (params: RequestParams = {}) => this.request<Information, any>({ path: `/information`, ❯ tests/spec/jsdoc-escaping/basic.test.ts:43:21
tests/spec/jsdoc-escaping/basic.test.ts > jsdoc-escaping > should escape JSDoc comment characters in descriptions: tests/spec/jsdoc-escaping/basic.test.ts#L43
Error: Snapshot `jsdoc-escaping > should escape JSDoc comment characters in descriptions 1` mismatched - Expected + Received @@ -8,19 +8,19 @@ * ## AUTHOR: acacode ## * ## SOURCE: https://github.com/acacode/swagger-typescript-api ## * --------------------------------------------------------------- */ - /** Information schema with malicious **/ window.location='http://evil.com' /** content */ + /** Information schema with malicious **\/ window.location='http://evil.com' /** content */ export interface Information { - /** The ID of the information record. Contains **/ dangerous content /** here. */ + /** The ID of the information record. Contains **\/ dangerous content /** here. */ id?: number; - /** Title field with */ and /* characters that could break comments */ + /** Title field with *\/ and /* characters that could break comments */ title?: string; /** * Multi-line description - * with */ characters + * with *\/ characters * and /* other markers * that could break JSDoc comments */ content?: string; } @@ -283,14 +283,14 @@ export class Api< SecurityDataType extends unknown, > extends HttpClient<SecurityDataType> { information = { /** - * @description Get service point file of all Nordic countries (SE,FI,DK,NO) from S3 storage. You can download previous service point file upto 7 days from current date. This is equivalent to **/information** endpoint with parameters `countryCode:SE,FI,DK,NO` and `context:ALL` and header `Accept-Encoding:gzip`. + * @description Get service point file of all Nordic countries (SE,FI,DK,NO) from S3 storage. You can download previous service point file upto 7 days from current date. This is equivalent to **\/information** endpoint with parameters `countryCode:SE,FI,DK,NO` and `context:ALL` and header `Accept-Encoding:gzip`. * * @name InformationList - * @summary Get service point file with **/ alert('XSS') /** injection attempt + * @summary Get service point file with **\/ alert('XSS') /** injection attempt * @request GET:/information */ informationList: (params: RequestParams = {}) => this.request<Information, any>({ path: `/information`, ❯ tests/spec/jsdoc-escaping/basic.test.ts:43:21

Artifacts

Produced during runtime
Name Size Digest
results Expired
298 Bytes
sha256:2b0c4e0f3e091f2e32051b977f44f463c306966516864be747134d89ed0aea4d