Skip to content

Commit

Permalink
feat: add autogenerated examples for the fern definition (#3114)
Browse files Browse the repository at this point in the history
* wip, switching gears

* still working on something else

* update with provided examples

* lint and use constants

* run all tests

* eslint ignore

* run tests
  • Loading branch information
armandobelardo authored Mar 9, 2024
1 parent 8ccedec commit df1cac2
Show file tree
Hide file tree
Showing 81 changed files with 133,157 additions and 22,588 deletions.
10 changes: 10 additions & 0 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,26 @@ exports[`dependencies correctly incorporates dependencies 1`] = `
"sdkRequest": null,
"response": null,
"errors": [],
"examples": [],
"examples": [
{
"exampleType": "generated",
"url": "",
"rootPathParameters": [],
"servicePathParameters": [],
"endpointPathParameters": [],
"serviceHeaders": [],
"endpointHeaders": [],
"queryParameters": [],
"request": null,
"name": null,
"codeSamples": null,
"response": {
"type": "ok",
"body": null
},
"docs": null
}
],
"pagination": null,
"availability": null,
"docs": null
Expand Down Expand Up @@ -771,4 +790,4 @@ exports[`dependencies correctly incorporates dependencies 1`] = `
}"
`;

exports[`dependencies file dependencies 1`] = `1412859`;
exports[`dependencies file dependencies 1`] = `2592898`;
Loading

0 comments on commit df1cac2

Please sign in to comment.