diff --git a/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/examples/ExampleTypeFactory.ts b/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/examples/ExampleTypeFactory.ts index c9b44d65e7f..f022bf5f2a8 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/examples/ExampleTypeFactory.ts +++ b/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/examples/ExampleTypeFactory.ts @@ -472,6 +472,36 @@ export class ExampleTypeFactory { result[property] = propertyExample; } } + if (schema.additionalProperties) { + for (const [property, value] of Object.entries(fullExample)) { + if (!(property in result)) { + const propertyExample = this.buildExampleHelper({ + schema: SchemaWithExample.unknown({ + example: value, + title: undefined, + availability: undefined, + description: undefined, + generatedName: "", + nameOverride: undefined, + groupName: undefined + }), + exampleId, + example: value, + visitedSchemaIds, + depth: depth + 1, + options: { + ...options, + name: property + }, + skipReadonly + }); + if (propertyExample != null) { + result[property] = propertyExample; + } + } + } + } + return FullExample.object({ properties: result }); diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/belvo.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/belvo.json index e52f22ef15a..b51cfcab5b2 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/belvo.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/belvo.json @@ -70135,6 +70135,7 @@ client.connect() }, "tipo_declaracion": "Normal", }, + "link": "19697249-01b8-443e-a451-76bfc5fbeebf", "pdf": "=PDF-STRING=", "receipt_pdf": "=PDF-STRING=", }, @@ -70505,6 +70506,9 @@ client.connect() "body": { "count": 101, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", + "previous": { + "key": "value", + }, "results": [ { "collected_at": "2022-02-09T08:45:50Z", @@ -70622,6 +70626,7 @@ client.connect() "pagos_provisionales": 0, "titular_clabe_permite_verificacion": "SÍ", }, + "dividendos": {}, "id": "02589c41-ba22-4d44-8558-8111cc751318", "informacion_general": { "ejercicio": 2018, @@ -70701,6 +70706,7 @@ client.connect() ], "subsidio_empleo": 0, }, + "type": "yearly", }, ], }, @@ -70810,11 +70816,15 @@ client.connect() "body": { "count": 101, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", + "previous": { + "key": "value", + }, "results": [ { "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", "id": "0d3ffb69-f83b-456e-ad8e-208d0998d71d", + "informacion_general": {}, "isr": { "detalle_del_pago": { "a_cargo": 0, @@ -70969,11 +70979,15 @@ client.connect() "body": { "count": 101, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", + "previous": { + "key": "value", + }, "results": [ { "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", "id": "0d3ffb69-f83b-456e-ad8e-208d0998d71d", + "informacion_general": {}, "isr": { "detalle_del_pago": { "a_cargo": 0, @@ -71136,6 +71150,9 @@ client.connect() "body": { "count": 101, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", + "previous": { + "key": "value", + }, "results": [ { "cifras_cierre_ejercicio": { @@ -71217,6 +71234,7 @@ client.connect() "utilidad_o_perdida_fiscal_antes_de_ptu": 416134, }, }, + "dividendos_o_utilidades_distribuidos": {}, "estado_posicion_financiera_balance": { "activo": { "cargos_y_gastos_diferidos": 9319, @@ -71297,8 +71315,10 @@ client.connect() "rfc": "ABC1111111A1", "tipo_declaracion": "Normal", }, + "link": "19697249-01b8-443e-a451-76bfc5fbeebf", "pdf": "=PDF-STRING=", "receipt_pdf": "=PDF-STRING=", + "type": "yearly", }, ], }, @@ -71408,6 +71428,9 @@ client.connect() "body": { "count": 101, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", + "previous": { + "key": "value", + }, "results": [ { "collected_at": "2022-02-09T08:45:50Z", @@ -73114,6 +73137,7 @@ client.connect() }, "tipo_declaracion": "Normal", }, + "link": "19697249-01b8-443e-a451-76bfc5fbeebf", "pdf": "=PDF-STRING=", "receipt_pdf": "=PDF-STRING=", }, @@ -73849,6 +73873,10 @@ service: saldo_credito_fiscal_anteriores_produccion_distribucion_cinematografica: 0 pdf: '=PDF-STRING=' receipt_pdf: '=PDF-STRING=' + dividendos: {} + type: yearly + previous: + key: value code-samples: - language: cURL code: | @@ -73986,6 +74014,9 @@ service: pdf: '===PDF_BINARY====' receipt_pdf: '===PDF_BINARY====' type: monthly + informacion_general: {} + previous: + key: value code-samples: - language: cURL code: | @@ -74131,6 +74162,9 @@ service: pdf: '===PDF_BINARY====' receipt_pdf: '===PDF_BINARY====' type: monthly + informacion_general: {} + previous: + key: value code-samples: - language: cURL code: | @@ -74368,6 +74402,11 @@ service: cantidad_a_pagar: 113002 pdf: '=PDF-STRING=' receipt_pdf: '=PDF-STRING=' + link: 19697249-01b8-443e-a451-76bfc5fbeebf + dividendos_o_utilidades_distribuidos: {} + type: yearly + previous: + key: value code-samples: - language: cURL code: | @@ -74578,6 +74617,8 @@ service: pdf: '===PDF_BINARY====' receipt_pdf: '===PDF_BINARY====' type: monthly + previous: + key: value code-samples: - language: cURL code: | @@ -75712,6 +75753,7 @@ service: cantidad_a_pagar: 113002 pdf: '=PDF-STRING=' receipt_pdf: '=PDF-STRING=' + link: 19697249-01b8-443e-a451-76bfc5fbeebf code-samples: - language: cURL code: |- @@ -76950,6 +76992,7 @@ service: cantidad_a_pagar: 113002 pdf: '=PDF-STRING=' receipt_pdf: '=PDF-STRING=' + link: 19697249-01b8-443e-a451-76bfc5fbeebf code-samples: - language: cURL code: | diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/webflow.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/webflow.json index d8efed22758..4807e2e19ce 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/webflow.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/webflow.json @@ -12445,6 +12445,9 @@ service: "request": { "cmsLocaleId": "653ad57de882f528b32e810e", "fieldData": { + "color": "#db4b68", + "date": "2022-11-18T00:00:00.000Z", + "featured": true, "name": "Pan Galactic Gargle Blaster Recipe", "slug": "pan-galactic-gargle-blaster", }, @@ -12456,6 +12459,9 @@ service: "cmsLocaleId": "653ad57de882f528b32e810e", "createdOn": "2022-11-17T17:11:57.148Z", "fieldData": { + "color": "#db4b68", + "date": "2022-11-18T00:00:00.000Z", + "featured": true, "name": "Pan Galactic Gargle Blaster Recipe", "slug": "pan-galactic-gargle-blaster", }, @@ -12537,6 +12543,9 @@ service: ], "createdOn": "2023-03-17T18:47:35.560Z", "fieldData": { + "color": "#db4b68", + "date": "2022-11-18T00:00:00.000Z", + "featured": false, "name": "My new item", "slug": "my-new-item", }, @@ -12611,6 +12620,9 @@ service: "request": { "cmsLocaleId": "653ad57de882f528b32e810e", "fieldData": { + "color": "#db4b68", + "date": "2022-11-18T00:00:00.000Z", + "featured": true, "name": "Pan Galactic Gargle Blaster Recipe", "slug": "pan-galactic-gargle-blaster", }, @@ -12622,6 +12634,9 @@ service: "cmsLocaleId": "653ad57de882f528b32e810e", "createdOn": "2022-11-17T17:11:57.148Z", "fieldData": { + "color": "#db4b68", + "date": "2022-11-18T00:00:00.000Z", + "featured": true, "name": "Pan Galactic Gargle Blaster Recipe", "slug": "pan-galactic-gargle-blaster", }, @@ -12789,6 +12804,9 @@ service: "cmsLocaleId": "653ad57de882f528b32e810e", "createdOn": "2022-11-17T17:11:57.148Z", "fieldData": { + "color": "#db4b68", + "date": "2022-11-18T00:00:00.000Z", + "featured": true, "name": "Pan Galactic Gargle Blaster Recipe", "slug": "pan-galactic-gargle-blaster", }, @@ -12853,6 +12871,9 @@ service: "cmsLocaleId": "653ad57de882f528b32e810e", "createdOn": "2022-11-17T17:11:57.148Z", "fieldData": { + "color": "#db4b68", + "date": "2022-11-18T00:00:00.000Z", + "featured": true, "name": "Pan Galactic Gargle Blaster Recipe", "slug": "pan-galactic-gargle-blaster", }, @@ -12918,8 +12939,10 @@ service: "cmsLocaleId": "66f6e966c9e1dc700a857ca3", "createdOn": "2022-06-25T14:51:27.809Z", "fieldData": { + "department": "Data", "name": "Senior Data Analyst", "slug": "senior-data-analyst", + "url": "https://boards.greenhouse.io/webflow/jobs/26567701", }, "id": "62b720ef280c7a7a3be8cabe", "isArchived": false, @@ -12931,8 +12954,10 @@ service: "cmsLocaleId": "66f6e966c9e1dc700a857ca3", "createdOn": "2023-04-10T11:45:30.567Z", "fieldData": { + "department": "Product", "name": "Product Manager", "slug": "product-manager", + "url": "https://boards.greenhouse.io/webflow/jobs/31234567", }, "id": "62c880ef281c7b7b4cf9dabc", "isArchived": false, @@ -13023,8 +13048,10 @@ service: "cmsLocaleId": "66f6e966c9e1dc700a857ca3", "createdOn": "2022-06-25T14:51:27.809Z", "fieldData": { + "department": "Data", "name": "Senior Data Analyst", "slug": "senior-data-analyst", + "url": "https://boards.greenhouse.io/webflow/jobs/26567701", }, "id": "62b720ef280c7a7a3be8cabe", "isArchived": false, @@ -13036,8 +13063,10 @@ service: "cmsLocaleId": "66f6e966c9e1dc700a857ca3", "createdOn": "2023-04-10T11:45:30.567Z", "fieldData": { + "department": "Product", "name": "Product Manager", "slug": "product-manager", + "url": "https://boards.greenhouse.io/webflow/jobs/31234567", }, "id": "62c880ef281c7b7b4cf9dabc", "isArchived": false, @@ -13188,6 +13217,9 @@ service: "request": { "cmsLocaleId": "653ad57de882f528b32e810e", "fieldData": { + "color": "#db4b68", + "date": "2022-11-18T00:00:00.000Z", + "featured": true, "name": "Pan Galactic Gargle Blaster Recipe", "slug": "pan-galactic-gargle-blaster", }, @@ -13199,6 +13231,9 @@ service: "cmsLocaleId": "653ad57de882f528b32e810e", "createdOn": "2022-11-17T17:11:57.148Z", "fieldData": { + "color": "#db4b68", + "date": "2022-11-18T00:00:00.000Z", + "featured": true, "name": "Pan Galactic Gargle Blaster Recipe", "slug": "pan-galactic-gargle-blaster", }, @@ -13278,6 +13313,9 @@ service: "request": { "cmsLocaleId": "653ad57de882f528b32e810e", "fieldData": { + "color": "#db4b68", + "date": "2022-11-18T00:00:00.000Z", + "featured": true, "name": "Pan Galactic Gargle Blaster Recipe", "slug": "pan-galactic-gargle-blaster", }, @@ -13289,6 +13327,9 @@ service: "cmsLocaleId": "653ad57de882f528b32e810e", "createdOn": "2022-11-17T17:11:57.148Z", "fieldData": { + "color": "#db4b68", + "date": "2022-11-18T00:00:00.000Z", + "featured": true, "name": "Pan Galactic Gargle Blaster Recipe", "slug": "pan-galactic-gargle-blaster", }, @@ -14757,6 +14798,8 @@ service: fieldData: name: Senior Data Analyst slug: senior-data-analyst + url: https://boards.greenhouse.io/webflow/jobs/26567701 + department: Data - id: 62c880ef281c7b7b4cf9dabc cmsLocaleId: 66f6e966c9e1dc700a857ca3 lastPublished: '2023-04-15T10:25:18.123Z' @@ -14767,6 +14810,8 @@ service: fieldData: name: Product Manager slug: product-manager + url: https://boards.greenhouse.io/webflow/jobs/31234567 + department: Product pagination: limit: 25 offset: 0 @@ -14825,6 +14870,9 @@ service: fieldData: name: Pan Galactic Gargle Blaster Recipe slug: pan-galactic-gargle-blaster + date: '2022-11-18T00:00:00.000Z' + featured: true + color: '#db4b68' response: body: id: 42b720ef280c7a7a3be8cabe @@ -14837,6 +14885,9 @@ service: fieldData: name: Pan Galactic Gargle Blaster Recipe slug: pan-galactic-gargle-blaster + date: '2022-11-18T00:00:00.000Z' + featured: true + color: '#db4b68' list-items-live: path: /collections/{collection_id}/items/live method: GET @@ -14906,6 +14957,8 @@ service: fieldData: name: Senior Data Analyst slug: senior-data-analyst + url: https://boards.greenhouse.io/webflow/jobs/26567701 + department: Data - id: 62c880ef281c7b7b4cf9dabc cmsLocaleId: 66f6e966c9e1dc700a857ca3 lastPublished: '2023-04-15T10:25:18.123Z' @@ -14916,6 +14969,8 @@ service: fieldData: name: Product Manager slug: product-manager + url: https://boards.greenhouse.io/webflow/jobs/31234567 + department: Product pagination: limit: 25 offset: 0 @@ -14972,6 +15027,9 @@ service: fieldData: name: Pan Galactic Gargle Blaster Recipe slug: pan-galactic-gargle-blaster + date: '2022-11-18T00:00:00.000Z' + featured: true + color: '#db4b68' response: body: id: 42b720ef280c7a7a3be8cabe @@ -14984,6 +15042,9 @@ service: fieldData: name: Pan Galactic Gargle Blaster Recipe slug: pan-galactic-gargle-blaster + date: '2022-11-18T00:00:00.000Z' + featured: true + color: '#db4b68' create-item-for-multiple-locales: path: /collections/{collection_id}/items/bulk method: POST @@ -15045,6 +15106,9 @@ service: fieldData: name: My new item slug: my-new-item + date: '2022-11-18T00:00:00.000Z' + featured: false + color: '#db4b68' get-item: path: /collections/{collection_id}/items/{item_id} method: GET @@ -15097,6 +15161,9 @@ service: fieldData: name: Pan Galactic Gargle Blaster Recipe slug: pan-galactic-gargle-blaster + date: '2022-11-18T00:00:00.000Z' + featured: true + color: '#db4b68' delete-item: path: /collections/{collection_id}/items/{item_id} method: DELETE @@ -15188,6 +15255,9 @@ service: fieldData: name: Pan Galactic Gargle Blaster Recipe slug: pan-galactic-gargle-blaster + date: '2022-11-18T00:00:00.000Z' + featured: true + color: '#db4b68' response: body: id: 42b720ef280c7a7a3be8cabe @@ -15200,6 +15270,9 @@ service: fieldData: name: Pan Galactic Gargle Blaster Recipe slug: pan-galactic-gargle-blaster + date: '2022-11-18T00:00:00.000Z' + featured: true + color: '#db4b68' get-item-live: path: /collections/{collection_id}/items/{item_id}/live method: GET @@ -15252,6 +15325,9 @@ service: fieldData: name: Pan Galactic Gargle Blaster Recipe slug: pan-galactic-gargle-blaster + date: '2022-11-18T00:00:00.000Z' + featured: true + color: '#db4b68' delete-item-live: path: /collections/{collection_id}/items/{item_id}/live method: DELETE @@ -15346,6 +15422,9 @@ service: fieldData: name: Pan Galactic Gargle Blaster Recipe slug: pan-galactic-gargle-blaster + date: '2022-11-18T00:00:00.000Z' + featured: true + color: '#db4b68' response: body: id: 42b720ef280c7a7a3be8cabe @@ -15358,6 +15437,9 @@ service: fieldData: name: Pan Galactic Gargle Blaster Recipe slug: pan-galactic-gargle-blaster + date: '2022-11-18T00:00:00.000Z' + featured: true + color: '#db4b68' publish-item: path: /collections/{collection_id}/items/publish method: POST @@ -17833,6 +17915,9 @@ webhooks: "cmsLocaleId": "653ad57de882f528b32e810e", "createdOn": "2022-11-17T17:11:57.148Z", "fieldData": { + "color": "#db4b68", + "date": "2022-11-18T00:00:00.000Z", + "featured": true, "name": "Pan Galactic Gargle Blaster Recipe", "slug": "pan-galactic-gargle-blaster", }, @@ -17862,6 +17947,9 @@ webhooks: "cmsLocaleId": "653ad57de882f528b32e810e", "createdOn": "2022-11-17T17:11:57.148Z", "fieldData": { + "color": "#db4b68", + "date": "2022-11-18T00:00:00.000Z", + "featured": true, "name": "Pan Galactic Gargle Blaster Recipe", "slug": "pan-galactic-gargle-blaster", }, @@ -18100,6 +18188,9 @@ webhooks: fieldData: name: Pan Galactic Gargle Blaster Recipe slug: pan-galactic-gargle-blaster + date: '2022-11-18T00:00:00.000Z' + featured: true + color: '#db4b68' collection_item_changed: method: POST display-name: Item Updated @@ -18123,6 +18214,9 @@ webhooks: fieldData: name: Pan Galactic Gargle Blaster Recipe slug: pan-galactic-gargle-blaster + date: '2022-11-18T00:00:00.000Z' + featured: true + color: '#db4b68' collection_item_deleted: method: POST display-name: Item Deleted diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/belvo.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/belvo.json index b4e8867d729..ba2f4d195e7 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/belvo.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/belvo.json @@ -56441,12 +56441,47 @@ "type": "string" }, "type": "primitive" + }, + "dividendos": { + "value": { + "value": [], + "type": "map" + }, + "type": "unknown" + }, + "type": { + "value": { + "value": { + "value": "yearly", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" } }, "type": "object" } ], "type": "array" + }, + "previous": { + "value": [ + { + "key": { + "value": "key", + "type": "string" + }, + "value": { + "value": { + "value": "value", + "type": "string" + }, + "type": "primitive" + } + } + ], + "type": "map" } }, "type": "object" @@ -57217,12 +57252,37 @@ "type": "string" }, "type": "primitive" + }, + "informacion_general": { + "value": { + "value": [], + "type": "map" + }, + "type": "unknown" } }, "type": "object" } ], "type": "array" + }, + "previous": { + "value": [ + { + "key": { + "value": "key", + "type": "string" + }, + "value": { + "value": { + "value": "value", + "type": "string" + }, + "type": "primitive" + } + } + ], + "type": "map" } }, "type": "object" @@ -58097,12 +58157,37 @@ "type": "string" }, "type": "primitive" + }, + "informacion_general": { + "value": { + "value": [], + "type": "map" + }, + "type": "unknown" } }, "type": "object" } ], "type": "array" + }, + "previous": { + "value": [ + { + "key": { + "value": "key", + "type": "string" + }, + "value": { + "value": { + "value": "value", + "type": "string" + }, + "type": "primitive" + } + } + ], + "type": "map" } }, "type": "object" @@ -60249,12 +60334,57 @@ "type": "string" }, "type": "primitive" + }, + "link": { + "value": { + "value": { + "value": "19697249-01b8-443e-a451-76bfc5fbeebf", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" + }, + "dividendos_o_utilidades_distribuidos": { + "value": { + "value": [], + "type": "map" + }, + "type": "unknown" + }, + "type": { + "value": { + "value": { + "value": "yearly", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" } }, "type": "object" } ], "type": "array" + }, + "previous": { + "value": [ + { + "key": { + "value": "key", + "type": "string" + }, + "value": { + "value": { + "value": "value", + "type": "string" + }, + "type": "primitive" + } + } + ], + "type": "map" } }, "type": "object" @@ -61982,6 +62112,24 @@ } ], "type": "array" + }, + "previous": { + "value": [ + { + "key": { + "value": "key", + "type": "string" + }, + "value": { + "value": { + "value": "value", + "type": "string" + }, + "type": "primitive" + } + } + ], + "type": "map" } }, "type": "object" @@ -71417,6 +71565,16 @@ "type": "string" }, "type": "primitive" + }, + "link": { + "value": { + "value": { + "value": "19697249-01b8-443e-a451-76bfc5fbeebf", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" } }, "type": "object" @@ -82067,6 +82225,16 @@ "type": "string" }, "type": "primitive" + }, + "link": { + "value": { + "value": { + "value": "19697249-01b8-443e-a451-76bfc5fbeebf", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" } }, "type": "object" diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/webflow.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/webflow.json index 6d42197f1e5..cbfab764425 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/webflow.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/webflow.json @@ -10687,6 +10687,26 @@ "type": "string" }, "type": "primitive" + }, + "url": { + "value": { + "value": { + "value": "https://boards.greenhouse.io/webflow/jobs/26567701", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" + }, + "department": { + "value": { + "value": { + "value": "Data", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" } }, "type": "object" @@ -10760,6 +10780,26 @@ "type": "string" }, "type": "primitive" + }, + "url": { + "value": { + "value": { + "value": "https://boards.greenhouse.io/webflow/jobs/31234567", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" + }, + "department": { + "value": { + "value": { + "value": "Product", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" } }, "type": "object" @@ -11559,6 +11599,36 @@ "type": "string" }, "type": "primitive" + }, + "date": { + "value": { + "value": { + "value": "2022-11-18T00:00:00.000Z", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" + }, + "featured": { + "value": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "type": "unknown" + }, + "color": { + "value": { + "value": { + "value": "#db4b68", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" } }, "type": "object" @@ -11633,6 +11703,36 @@ "type": "string" }, "type": "primitive" + }, + "date": { + "value": { + "value": { + "value": "2022-11-18T00:00:00.000Z", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" + }, + "featured": { + "value": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "type": "unknown" + }, + "color": { + "value": { + "value": { + "value": "#db4b68", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" } }, "type": "object" @@ -12557,6 +12657,26 @@ "type": "string" }, "type": "primitive" + }, + "url": { + "value": { + "value": { + "value": "https://boards.greenhouse.io/webflow/jobs/26567701", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" + }, + "department": { + "value": { + "value": { + "value": "Data", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" } }, "type": "object" @@ -12630,6 +12750,26 @@ "type": "string" }, "type": "primitive" + }, + "url": { + "value": { + "value": { + "value": "https://boards.greenhouse.io/webflow/jobs/31234567", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" + }, + "department": { + "value": { + "value": { + "value": "Product", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" } }, "type": "object" @@ -13429,6 +13569,36 @@ "type": "string" }, "type": "primitive" + }, + "date": { + "value": { + "value": { + "value": "2022-11-18T00:00:00.000Z", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" + }, + "featured": { + "value": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "type": "unknown" + }, + "color": { + "value": { + "value": { + "value": "#db4b68", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" } }, "type": "object" @@ -13503,6 +13673,36 @@ "type": "string" }, "type": "primitive" + }, + "date": { + "value": { + "value": { + "value": "2022-11-18T00:00:00.000Z", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" + }, + "featured": { + "value": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "type": "unknown" + }, + "color": { + "value": { + "value": { + "value": "#db4b68", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" } }, "type": "object" @@ -14344,6 +14544,36 @@ "type": "string" }, "type": "primitive" + }, + "date": { + "value": { + "value": { + "value": "2022-11-18T00:00:00.000Z", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" + }, + "featured": { + "value": { + "value": { + "value": false, + "type": "boolean" + }, + "type": "primitive" + }, + "type": "unknown" + }, + "color": { + "value": { + "value": { + "value": "#db4b68", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" } }, "type": "object" @@ -14951,6 +15181,36 @@ "type": "string" }, "type": "primitive" + }, + "date": { + "value": { + "value": { + "value": "2022-11-18T00:00:00.000Z", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" + }, + "featured": { + "value": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "type": "unknown" + }, + "color": { + "value": { + "value": { + "value": "#db4b68", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" } }, "type": "object" @@ -16039,6 +16299,36 @@ "type": "string" }, "type": "primitive" + }, + "date": { + "value": { + "value": { + "value": "2022-11-18T00:00:00.000Z", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" + }, + "featured": { + "value": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "type": "unknown" + }, + "color": { + "value": { + "value": { + "value": "#db4b68", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" } }, "type": "object" @@ -16113,6 +16403,36 @@ "type": "string" }, "type": "primitive" + }, + "date": { + "value": { + "value": { + "value": "2022-11-18T00:00:00.000Z", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" + }, + "featured": { + "value": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "type": "unknown" + }, + "color": { + "value": { + "value": { + "value": "#db4b68", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" } }, "type": "object" @@ -16720,6 +17040,36 @@ "type": "string" }, "type": "primitive" + }, + "date": { + "value": { + "value": { + "value": "2022-11-18T00:00:00.000Z", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" + }, + "featured": { + "value": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "type": "unknown" + }, + "color": { + "value": { + "value": { + "value": "#db4b68", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" } }, "type": "object" @@ -17808,6 +18158,36 @@ "type": "string" }, "type": "primitive" + }, + "date": { + "value": { + "value": { + "value": "2022-11-18T00:00:00.000Z", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" + }, + "featured": { + "value": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "type": "unknown" + }, + "color": { + "value": { + "value": { + "value": "#db4b68", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" } }, "type": "object" @@ -17882,6 +18262,36 @@ "type": "string" }, "type": "primitive" + }, + "date": { + "value": { + "value": { + "value": "2022-11-18T00:00:00.000Z", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" + }, + "featured": { + "value": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "type": "unknown" + }, + "color": { + "value": { + "value": { + "value": "#db4b68", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" } }, "type": "object" @@ -113037,6 +113447,36 @@ "type": "string" }, "type": "primitive" + }, + "date": { + "value": { + "value": { + "value": "2022-11-18T00:00:00.000Z", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" + }, + "featured": { + "value": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "type": "unknown" + }, + "color": { + "value": { + "value": { + "value": "#db4b68", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" } }, "type": "object" @@ -113358,6 +113798,36 @@ "type": "string" }, "type": "primitive" + }, + "date": { + "value": { + "value": { + "value": "2022-11-18T00:00:00.000Z", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" + }, + "featured": { + "value": { + "value": { + "value": true, + "type": "boolean" + }, + "type": "primitive" + }, + "type": "unknown" + }, + "color": { + "value": { + "value": { + "value": "#db4b68", + "type": "string" + }, + "type": "primitive" + }, + "type": "unknown" } }, "type": "object" diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/belvo.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/belvo.json index 9ff8f65b49b..f8c339c4bd4 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/belvo.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/belvo.json @@ -62370,6 +62370,7 @@ client.connect() }, "tipo_declaracion": "Normal", }, + "link": "19697249-01b8-443e-a451-76bfc5fbeebf", "pdf": "=PDF-STRING=", "receipt_pdf": "=PDF-STRING=", }, @@ -62740,6 +62741,9 @@ client.connect() "body": { "count": 101, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", + "previous": { + "key": "value", + }, "results": [ { "collected_at": "2022-02-09T08:45:50Z", @@ -62857,6 +62861,7 @@ client.connect() "pagos_provisionales": 0, "titular_clabe_permite_verificacion": "SÍ", }, + "dividendos": {}, "id": "02589c41-ba22-4d44-8558-8111cc751318", "informacion_general": { "ejercicio": 2018, @@ -62936,6 +62941,7 @@ client.connect() ], "subsidio_empleo": 0, }, + "type": "yearly", }, ], }, @@ -63045,11 +63051,15 @@ client.connect() "body": { "count": 101, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", + "previous": { + "key": "value", + }, "results": [ { "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", "id": "0d3ffb69-f83b-456e-ad8e-208d0998d71d", + "informacion_general": {}, "isr": { "detalle_del_pago": { "a_cargo": 0, @@ -63204,11 +63214,15 @@ client.connect() "body": { "count": 101, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", + "previous": { + "key": "value", + }, "results": [ { "collected_at": "2022-02-09T08:45:50Z", "created_at": "2022-02-09T08:46:20Z", "id": "0d3ffb69-f83b-456e-ad8e-208d0998d71d", + "informacion_general": {}, "isr": { "detalle_del_pago": { "a_cargo": 0, @@ -63371,6 +63385,9 @@ client.connect() "body": { "count": 101, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", + "previous": { + "key": "value", + }, "results": [ { "cifras_cierre_ejercicio": { @@ -63452,6 +63469,7 @@ client.connect() "utilidad_o_perdida_fiscal_antes_de_ptu": 416134, }, }, + "dividendos_o_utilidades_distribuidos": {}, "estado_posicion_financiera_balance": { "activo": { "cargos_y_gastos_diferidos": 9319, @@ -63532,8 +63550,10 @@ client.connect() "rfc": "ABC1111111A1", "tipo_declaracion": "Normal", }, + "link": "19697249-01b8-443e-a451-76bfc5fbeebf", "pdf": "=PDF-STRING=", "receipt_pdf": "=PDF-STRING=", + "type": "yearly", }, ], }, @@ -63643,6 +63663,9 @@ client.connect() "body": { "count": 101, "next": "https://sandbox.belvo.com/api/{endpoint}/?page=2", + "previous": { + "key": "value", + }, "results": [ { "collected_at": "2022-02-09T08:45:50Z", @@ -65349,6 +65372,7 @@ client.connect() }, "tipo_declaracion": "Normal", }, + "link": "19697249-01b8-443e-a451-76bfc5fbeebf", "pdf": "=PDF-STRING=", "receipt_pdf": "=PDF-STRING=", }, @@ -66084,6 +66108,10 @@ service: saldo_credito_fiscal_anteriores_produccion_distribucion_cinematografica: 0 pdf: '=PDF-STRING=' receipt_pdf: '=PDF-STRING=' + dividendos: {} + type: yearly + previous: + key: value code-samples: - language: cURL code: | @@ -66221,6 +66249,9 @@ service: pdf: '===PDF_BINARY====' receipt_pdf: '===PDF_BINARY====' type: monthly + informacion_general: {} + previous: + key: value code-samples: - language: cURL code: | @@ -66366,6 +66397,9 @@ service: pdf: '===PDF_BINARY====' receipt_pdf: '===PDF_BINARY====' type: monthly + informacion_general: {} + previous: + key: value code-samples: - language: cURL code: | @@ -66603,6 +66637,11 @@ service: cantidad_a_pagar: 113002 pdf: '=PDF-STRING=' receipt_pdf: '=PDF-STRING=' + link: 19697249-01b8-443e-a451-76bfc5fbeebf + dividendos_o_utilidades_distribuidos: {} + type: yearly + previous: + key: value code-samples: - language: cURL code: | @@ -66813,6 +66852,8 @@ service: pdf: '===PDF_BINARY====' receipt_pdf: '===PDF_BINARY====' type: monthly + previous: + key: value code-samples: - language: cURL code: | @@ -67947,6 +67988,7 @@ service: cantidad_a_pagar: 113002 pdf: '=PDF-STRING=' receipt_pdf: '=PDF-STRING=' + link: 19697249-01b8-443e-a451-76bfc5fbeebf code-samples: - language: cURL code: |- @@ -69185,6 +69227,7 @@ service: cantidad_a_pagar: 113002 pdf: '=PDF-STRING=' receipt_pdf: '=PDF-STRING=' + link: 19697249-01b8-443e-a451-76bfc5fbeebf code-samples: - language: cURL code: | diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/webflow.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/webflow.json index 2fb2bb2d8b5..9b87906ed1d 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/webflow.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/webflow.json @@ -4328,6 +4328,9 @@ service: "request": { "cmsLocaleId": "653ad57de882f528b32e810e", "fieldData": { + "color": "#db4b68", + "date": "2022-11-18T00:00:00.000Z", + "featured": true, "name": "Pan Galactic Gargle Blaster Recipe", "slug": "pan-galactic-gargle-blaster", }, @@ -4339,6 +4342,9 @@ service: "cmsLocaleId": "653ad57de882f528b32e810e", "createdOn": "2022-11-17T17:11:57.148Z", "fieldData": { + "color": "#db4b68", + "date": "2022-11-18T00:00:00.000Z", + "featured": true, "name": "Pan Galactic Gargle Blaster Recipe", "slug": "pan-galactic-gargle-blaster", }, @@ -4420,6 +4426,9 @@ service: ], "createdOn": "2023-03-17T18:47:35.560Z", "fieldData": { + "color": "#db4b68", + "date": "2022-11-18T00:00:00.000Z", + "featured": false, "name": "My new item", "slug": "my-new-item", }, @@ -4494,6 +4503,9 @@ service: "request": { "cmsLocaleId": "653ad57de882f528b32e810e", "fieldData": { + "color": "#db4b68", + "date": "2022-11-18T00:00:00.000Z", + "featured": true, "name": "Pan Galactic Gargle Blaster Recipe", "slug": "pan-galactic-gargle-blaster", }, @@ -4505,6 +4517,9 @@ service: "cmsLocaleId": "653ad57de882f528b32e810e", "createdOn": "2022-11-17T17:11:57.148Z", "fieldData": { + "color": "#db4b68", + "date": "2022-11-18T00:00:00.000Z", + "featured": true, "name": "Pan Galactic Gargle Blaster Recipe", "slug": "pan-galactic-gargle-blaster", }, @@ -4672,6 +4687,9 @@ service: "cmsLocaleId": "653ad57de882f528b32e810e", "createdOn": "2022-11-17T17:11:57.148Z", "fieldData": { + "color": "#db4b68", + "date": "2022-11-18T00:00:00.000Z", + "featured": true, "name": "Pan Galactic Gargle Blaster Recipe", "slug": "pan-galactic-gargle-blaster", }, @@ -4736,6 +4754,9 @@ service: "cmsLocaleId": "653ad57de882f528b32e810e", "createdOn": "2022-11-17T17:11:57.148Z", "fieldData": { + "color": "#db4b68", + "date": "2022-11-18T00:00:00.000Z", + "featured": true, "name": "Pan Galactic Gargle Blaster Recipe", "slug": "pan-galactic-gargle-blaster", }, @@ -4801,8 +4822,10 @@ service: "cmsLocaleId": "66f6e966c9e1dc700a857ca3", "createdOn": "2022-06-25T14:51:27.809Z", "fieldData": { + "department": "Data", "name": "Senior Data Analyst", "slug": "senior-data-analyst", + "url": "https://boards.greenhouse.io/webflow/jobs/26567701", }, "id": "62b720ef280c7a7a3be8cabe", "isArchived": false, @@ -4814,8 +4837,10 @@ service: "cmsLocaleId": "66f6e966c9e1dc700a857ca3", "createdOn": "2023-04-10T11:45:30.567Z", "fieldData": { + "department": "Product", "name": "Product Manager", "slug": "product-manager", + "url": "https://boards.greenhouse.io/webflow/jobs/31234567", }, "id": "62c880ef281c7b7b4cf9dabc", "isArchived": false, @@ -4906,8 +4931,10 @@ service: "cmsLocaleId": "66f6e966c9e1dc700a857ca3", "createdOn": "2022-06-25T14:51:27.809Z", "fieldData": { + "department": "Data", "name": "Senior Data Analyst", "slug": "senior-data-analyst", + "url": "https://boards.greenhouse.io/webflow/jobs/26567701", }, "id": "62b720ef280c7a7a3be8cabe", "isArchived": false, @@ -4919,8 +4946,10 @@ service: "cmsLocaleId": "66f6e966c9e1dc700a857ca3", "createdOn": "2023-04-10T11:45:30.567Z", "fieldData": { + "department": "Product", "name": "Product Manager", "slug": "product-manager", + "url": "https://boards.greenhouse.io/webflow/jobs/31234567", }, "id": "62c880ef281c7b7b4cf9dabc", "isArchived": false, @@ -5071,6 +5100,9 @@ service: "request": { "cmsLocaleId": "653ad57de882f528b32e810e", "fieldData": { + "color": "#db4b68", + "date": "2022-11-18T00:00:00.000Z", + "featured": true, "name": "Pan Galactic Gargle Blaster Recipe", "slug": "pan-galactic-gargle-blaster", }, @@ -5082,6 +5114,9 @@ service: "cmsLocaleId": "653ad57de882f528b32e810e", "createdOn": "2022-11-17T17:11:57.148Z", "fieldData": { + "color": "#db4b68", + "date": "2022-11-18T00:00:00.000Z", + "featured": true, "name": "Pan Galactic Gargle Blaster Recipe", "slug": "pan-galactic-gargle-blaster", }, @@ -5161,6 +5196,9 @@ service: "request": { "cmsLocaleId": "653ad57de882f528b32e810e", "fieldData": { + "color": "#db4b68", + "date": "2022-11-18T00:00:00.000Z", + "featured": true, "name": "Pan Galactic Gargle Blaster Recipe", "slug": "pan-galactic-gargle-blaster", }, @@ -5172,6 +5210,9 @@ service: "cmsLocaleId": "653ad57de882f528b32e810e", "createdOn": "2022-11-17T17:11:57.148Z", "fieldData": { + "color": "#db4b68", + "date": "2022-11-18T00:00:00.000Z", + "featured": true, "name": "Pan Galactic Gargle Blaster Recipe", "slug": "pan-galactic-gargle-blaster", }, @@ -6640,6 +6681,8 @@ service: fieldData: name: Senior Data Analyst slug: senior-data-analyst + url: https://boards.greenhouse.io/webflow/jobs/26567701 + department: Data - id: 62c880ef281c7b7b4cf9dabc cmsLocaleId: 66f6e966c9e1dc700a857ca3 lastPublished: '2023-04-15T10:25:18.123Z' @@ -6650,6 +6693,8 @@ service: fieldData: name: Product Manager slug: product-manager + url: https://boards.greenhouse.io/webflow/jobs/31234567 + department: Product pagination: limit: 25 offset: 0 @@ -6708,6 +6753,9 @@ service: fieldData: name: Pan Galactic Gargle Blaster Recipe slug: pan-galactic-gargle-blaster + date: '2022-11-18T00:00:00.000Z' + featured: true + color: '#db4b68' response: body: id: 42b720ef280c7a7a3be8cabe @@ -6720,6 +6768,9 @@ service: fieldData: name: Pan Galactic Gargle Blaster Recipe slug: pan-galactic-gargle-blaster + date: '2022-11-18T00:00:00.000Z' + featured: true + color: '#db4b68' list-items-live: path: /collections/{collection_id}/items/live method: GET @@ -6789,6 +6840,8 @@ service: fieldData: name: Senior Data Analyst slug: senior-data-analyst + url: https://boards.greenhouse.io/webflow/jobs/26567701 + department: Data - id: 62c880ef281c7b7b4cf9dabc cmsLocaleId: 66f6e966c9e1dc700a857ca3 lastPublished: '2023-04-15T10:25:18.123Z' @@ -6799,6 +6852,8 @@ service: fieldData: name: Product Manager slug: product-manager + url: https://boards.greenhouse.io/webflow/jobs/31234567 + department: Product pagination: limit: 25 offset: 0 @@ -6855,6 +6910,9 @@ service: fieldData: name: Pan Galactic Gargle Blaster Recipe slug: pan-galactic-gargle-blaster + date: '2022-11-18T00:00:00.000Z' + featured: true + color: '#db4b68' response: body: id: 42b720ef280c7a7a3be8cabe @@ -6867,6 +6925,9 @@ service: fieldData: name: Pan Galactic Gargle Blaster Recipe slug: pan-galactic-gargle-blaster + date: '2022-11-18T00:00:00.000Z' + featured: true + color: '#db4b68' create-item-for-multiple-locales: path: /collections/{collection_id}/items/bulk method: POST @@ -6928,6 +6989,9 @@ service: fieldData: name: My new item slug: my-new-item + date: '2022-11-18T00:00:00.000Z' + featured: false + color: '#db4b68' get-item: path: /collections/{collection_id}/items/{item_id} method: GET @@ -6980,6 +7044,9 @@ service: fieldData: name: Pan Galactic Gargle Blaster Recipe slug: pan-galactic-gargle-blaster + date: '2022-11-18T00:00:00.000Z' + featured: true + color: '#db4b68' delete-item: path: /collections/{collection_id}/items/{item_id} method: DELETE @@ -7071,6 +7138,9 @@ service: fieldData: name: Pan Galactic Gargle Blaster Recipe slug: pan-galactic-gargle-blaster + date: '2022-11-18T00:00:00.000Z' + featured: true + color: '#db4b68' response: body: id: 42b720ef280c7a7a3be8cabe @@ -7083,6 +7153,9 @@ service: fieldData: name: Pan Galactic Gargle Blaster Recipe slug: pan-galactic-gargle-blaster + date: '2022-11-18T00:00:00.000Z' + featured: true + color: '#db4b68' get-item-live: path: /collections/{collection_id}/items/{item_id}/live method: GET @@ -7135,6 +7208,9 @@ service: fieldData: name: Pan Galactic Gargle Blaster Recipe slug: pan-galactic-gargle-blaster + date: '2022-11-18T00:00:00.000Z' + featured: true + color: '#db4b68' delete-item-live: path: /collections/{collection_id}/items/{item_id}/live method: DELETE @@ -7229,6 +7305,9 @@ service: fieldData: name: Pan Galactic Gargle Blaster Recipe slug: pan-galactic-gargle-blaster + date: '2022-11-18T00:00:00.000Z' + featured: true + color: '#db4b68' response: body: id: 42b720ef280c7a7a3be8cabe @@ -7241,6 +7320,9 @@ service: fieldData: name: Pan Galactic Gargle Blaster Recipe slug: pan-galactic-gargle-blaster + date: '2022-11-18T00:00:00.000Z' + featured: true + color: '#db4b68' publish-item: path: /collections/{collection_id}/items/publish method: POST @@ -9716,6 +9798,9 @@ webhooks: "cmsLocaleId": "653ad57de882f528b32e810e", "createdOn": "2022-11-17T17:11:57.148Z", "fieldData": { + "color": "#db4b68", + "date": "2022-11-18T00:00:00.000Z", + "featured": true, "name": "Pan Galactic Gargle Blaster Recipe", "slug": "pan-galactic-gargle-blaster", }, @@ -9745,6 +9830,9 @@ webhooks: "cmsLocaleId": "653ad57de882f528b32e810e", "createdOn": "2022-11-17T17:11:57.148Z", "fieldData": { + "color": "#db4b68", + "date": "2022-11-18T00:00:00.000Z", + "featured": true, "name": "Pan Galactic Gargle Blaster Recipe", "slug": "pan-galactic-gargle-blaster", }, @@ -9983,6 +10071,9 @@ webhooks: fieldData: name: Pan Galactic Gargle Blaster Recipe slug: pan-galactic-gargle-blaster + date: '2022-11-18T00:00:00.000Z' + featured: true + color: '#db4b68' collection_item_changed: method: POST display-name: Item Updated @@ -10006,6 +10097,9 @@ webhooks: fieldData: name: Pan Galactic Gargle Blaster Recipe slug: pan-galactic-gargle-blaster + date: '2022-11-18T00:00:00.000Z' + featured: true + color: '#db4b68' collection_item_deleted: method: POST display-name: Item Deleted diff --git a/packages/cli/cli/versions.yml b/packages/cli/cli/versions.yml index c34cab8237f..cda57f60323 100644 --- a/packages/cli/cli/versions.yml +++ b/packages/cli/cli/versions.yml @@ -1,3 +1,11 @@ +- changelogEntry: + - summary: | + If a schema in OpenAPI or AsyncAPI has `additionalProperties: true` then the Fern CLI will now respect bringing in + example properties that are not defined in the schema. Previously, the CLI would skip them. + type: fix + irVersion: 53 + version: 0.46.19 + - changelogEntry: - summary: | If an object or request is annotated with `extra-properties: true` then the user can provide an example that includes