Skip to content

Update to latest version of the GitBook API #3606

Update to latest version of the GitBook API

Update to latest version of the GitBook API #3606

Triggered via pull request March 19, 2025 18:50
Status Failure
Total duration 4m 2s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors
error: expect(received).toMatchObject(expected): packages/react-openapi/src/resolveOpenAPIOperation.test.ts#L26
{ + method: "put", operation: { + description: "Update an existing pet by Id.", + operationId: "updatePet", - description: "Update an existing pet by Id", requestBody: { content: { "application/json": { schema: { + properties: { + category: { + properties: { + id: { + example: 1, + format: "int64", + type: "integer", + }, + name: { + example: "Dogs", + type: "string", + }, + }, + type: "object", + xml: { + name: "category", + }, + }, + id: { + example: 10, + format: "int64", + type: "integer", + }, + name: { + example: "doggie", + type: "string", + }, + photoUrls: { + items: { + type: "string", + xml: { + name: "photoUrl", + }, + }, + type: "array", + xml: { + wrapped: true, + }, + }, + status: { + description: "pet status in the store", + enum: [ + "available", + "pending", + "sold" + ], + type: "string", + "x-gitbook-description-html": "pet status in the store", + }, + tags: { + items: { + properties: { + id: { + format: "int64", + type: "integer", + }, + name: { + type: "string", + }, + }, + type: "object", + xml: { + name: "tag", + }, + }, + type: "array", + xml: { + wrapped: true, + }, + }, + }, required: [ "name", "photoUrls" ], type: "object", + xml: { + name: "pet", + }, + }, + }, + "application/x-www-form-urlencoded": { + schema: { + properties: { + category: { + properties: { + id: { + example: 1, + format: "int64", + type: "integer", + }, + name: { + example: "Dogs", + type: "string", + }, + }, + type: "object", + xml: { + name: "category", + }, + }, + id: { + example: 10, + format: "int64", + type: "integer", + }, + name: { + example: "doggie", + type: "string", + }, + photoUrls: { + items: { + type: "string", + xml: { + name: "photoUrl", + }, + }, + type: "array", + xml: { + wrapped: true, + }, + }, + status: { + description: "pet status in the store", + enum: [ + "available", + "pending", + "sold" + ], + type: "string", + "x-gitbook-description-html"
error: expect(received).toMatchObject(expected): packages/react-openapi/src/resolveOpenAPIOperation.test.ts#L56
{ + method: "put", operation: { + description: "Update an existing pet by Id.", + operationId: "updatePet", - description: "Update an existing pet by Id", requestBody: { content: { "application/json": { schema: { + properties: { + category: { + properties: { + id: { + example: 1, + format: "int64", + type: "integer", + }, + name: { + example: "Dogs", + type: "string", + }, + }, + type: "object", + xml: { + name: "category", + }, + }, + id: { + example: 10, + format: "int64", + type: "integer", + }, + name: { + example: "doggie", + type: "string", + }, + photoUrls: { + items: { + type: "string", + xml: { + name: "photoUrl", + }, + }, + type: "array", + xml: { + wrapped: true, + }, + }, + status: { + description: "pet status in the store", + enum: [ + "available", + "pending", + "sold" + ], + type: "string", + "x-gitbook-description-html": "pet status in the store", + }, + tags: { + items: { + properties: { + id: { + format: "int64", + type: "integer", + }, + name: { + type: "string", + }, + }, + type: "object", + xml: { + name: "tag", + }, + }, + type: "array", + xml: { + wrapped: true, + }, + }, + }, required: [ "name", "photoUrls" ], type: "object", + xml: { + name: "pet", + }, + }, + }, + "application/x-www-form-urlencoded": { + schema: { + properties: { + category: { + properties: { + id: { + example: 1, + format: "int64", + type: "integer", + }, + name: { + example: "Dogs", + type: "string", + }, + }, + type: "object", + xml: { + name: "category", + }, + }, + id: { + example: 10, + format: "int64", + type: "integer", + }, + name: { + example: "doggie", + type: "string", + }, + photoUrls: { + items: { + type: "string", + xml: { + name: "photoUrl", + }, + }, + type: "array", + xml: { + wrapped: true, + }, + }, + status: { + description: "pet status in the store", + enum: [ + "available", + "pending", + "sold" + ], + type: "string", + "x-gitbook-description-html"
Test
@gitbook/react-openapi#unit: command (/home/runner/work/gitbook/gitbook/packages/react-openapi) /home/runner/.bun/bin/bun run unit exited (1)
error: expect(received).toMatchObject(expected): packages/react-openapi/src/resolveOpenAPIOperation.test.ts#L154
{ + method: "put", operation: { + description: "Update an existing pet by Id.", + operationId: "updatePet", - description: "Update an existing pet by Id", requestBody: { content: { "application/json": { schema: { + properties: { + category: { + properties: { + id: { + example: 1, + format: "int64", + type: "integer", + }, + name: { + example: "Dogs", + type: "string", + }, + }, + type: "object", + xml: { + name: "category", + }, + }, + id: { + example: 10, + format: "int64", + type: "integer", + }, + name: { + example: "doggie", + type: "string", + }, + photoUrls: { + items: { + type: "string", + xml: { + name: "photoUrl", + }, + }, + type: "array", + xml: { + wrapped: true, + }, + }, + status: { + description: "pet status in the store", + enum: [ + "available", + "pending", + "sold" + ], + type: "string", + "x-gitbook-description-html": "pet status in the store", + }, + tags: { + items: { + properties: { + id: { + format: "int64", + type: "integer", + }, + name: { + type: "string", + }, + }, + type: "object", + xml: { + name: "tag", + }, + }, + type: "array", + xml: { + wrapped: true, + }, + }, + }, required: [ "name", "photoUrls" ], type: "object", + xml: { + name: "pet", + }, + }, + }, + "application/x-www-form-urlencoded": { + schema: { + properties: { + category: { + properties: { + id: { + example: 1, + format: "int64", + type: "integer", + }, + name: { + example: "Dogs", + type: "string", + }, + }, + type: "object", + xml: { + name: "category", + }, + }, + id: { + example: 10, + format: "int64", + type: "integer", + }, + name: { + example: "doggie", + type: "string", + }, + photoUrls: { + items: { + type: "string", + xml: { + name: "photoUrl", + }, + }, + type: "array", + xml: { + wrapped: true, + }, + }, + status: { + description: "pet status in the store", + enum: [ + "available", + "pending", + "sold" + ], + type: "string", + "x-gitbook-description-html"
Test
Process completed with exit code 1.