Skip to content

Commit f3405f3

Browse files
zbayoffjirikuncarci.datadog-api-specactions-userdavidejones
authored
Zach/open api (DataDog#6919)
* add deref package * add dereferencer * Regenerate client from commit 8dbb90e of spec repo * full spec processed * Regenerate client from commit 669dbb4 of spec repo * full spec processed * Regenerate client from commit 5ada000 of spec repo * recursion update * reflect * update tables * add dereference script to Github actions * design updates * pretty deref json * Regenerate client from commit 1477f16 of spec repo * full spec processed * Regenerate client from commit 0693472 of spec repo * full spec processed * Regenerate client from commit 14cc620 of spec repo * full spec processed * update workflow to just run one script add to script building out a examples.json file per page update list.html to display json * add examples.json * add request code example block * small fix * Regenerate client from commit f67bce2 of spec repo * full spec processed * add check for format type * add section for deprecated endpoints * reorg navs, add search bar * Regenerate client from commit 7c9f520 of spec repo * full spec processed * move collapse trigger * Regenerate client from commit 70c45c5 of spec repo * full spec processed * update js to build html too and store it in examples.json * convert markdown in js html generation * Regenerate client from commit e651536 of spec repo * full spec processed * Regenerate client from commit 88aa14d of spec repo * full spec processed * some design updates * Regenerate client from commit 95b30fc of spec repo * Regenerate client from commit 9e94d74 of spec repo * full spec processed * design updates * Regenerate client from commit 2857cc3 of spec repo * full spec processed * Regenerate client from commit d1bbfe1 of spec repo * full spec processed * update to newest hugo, use new jsonify, set scroll pos for code blocks * style update * Regenerate client from commit aa73e1d of spec repo * full spec processed * update * Regenerate client from commit d2a2849 of spec repo * full spec processed * small layout changes * delete old page * Regenerate client from commit 647e7d0 of spec repo * full spec processed * Generated code from DataDog/datadog-api-spec#295 (DataDog#7172) * Regenerate client from commit b5ef536 of spec repo * full spec processed Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: GitHub Action <[email protected]> * test update staging algolia * fix url * add endpoints to aloglia config * test * test * remove key selector * test * test * fix * spliting v1 v2 * indexing only api pages * trying different selectors value * add arguments table. styling * Regenerate client from commit f79a29d of spec repo * full spec processed * add initial tests * update script for removing readme and outputing other content types than application/json * update pages * add region redirect updates * fix a11y errors * hide readonly on request table * code lang update design * Regenerate client from commit d9f498d of spec repo * full spec processed * update dropdown design * Update full_spec.yaml Removed duplicate yaml key: /api/v1/integration/slack * full spec processed * Generated code from DataDog/datadog-api-spec#341 (DataDog#7232) * Regenerate client from commit aa41ea6 of spec repo * full spec processed Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: GitHub Action <[email protected]> * lock jquery version * update region redirect * test * refactor some js * update package. link * Regenerate client from commit a9a8203 of spec repo * full spec processed * update link * Regenerate client from commit 1445ecd of spec repo * full spec processed * Regenerate client from commit 6d8b10b of spec repo * full spec processed * return arrays in example json where possible * Regenerate client from commit 6875a1b of spec repo * full spec processed * make navigation show on multi lang * fix nav links to work with absLangURL * change menu approach * Regenerate client from commit e3f80b3 of spec repo * full spec processed * design updates * update arguments tables, algolia prod config * region fix * mobile fixes * any-key fix * design updates * Remove Go and Java examples * design update * lock jquery, remove console * Migrate examples batch 1 * Migrate examples batch 2 * Regenerate client from commit cfe781d of spec repo * full spec processed * change bash to curl * improve json output to use examples over type where possible * avoid crazy circular nesting * in some cases like sendtraces we have no key => value its straight to a nested array of objects items.items.properties * commit built examples * add region to api page, include url in path * removing old localised api content * adding rate limit info * updating links to match new API layout * add empty table row for no response/request. Show collapse only on tables that can * add json tests * Regenerate client from commit f698783 of spec repo * full spec processed * making all links canonical * making links canonical * removing auto-generated menu entries * fixing url * update menu yaml to include Overview * fix horizontal scroll * make content headers linkable with shortcode * remove code styling from arguments table * Regenerate client from commit 7f5b447 of spec repo * full spec processed * change json output * more json fixes * update json * Regenerate client from commit 0647c3f of spec repo * full spec processed * fix escaped characters * small design tweak * if no data for table or data root is array then hide the table * update json * Regenerate client from commit 3a928db of spec repo * full spec processed * Regenerate client from commit 473a159 of spec repo * full spec processed * Regenerate client from commit 494a127 of spec repo * full spec processed * updating embedded graph api links * using canonical links in further reading * fix version redirect to check if page exists * fix * add lang support in menus * Regenerate client from commit afd3d4d of spec repo * Update full_spec.yaml Removed duplicated properties * update files * display enum values in table desc * remove bug * remove forcing api canonical as we have new sub urls on api * fixing broken link * add more tests * Regenerate client from commit 14ea455 of spec repo * full spec processed * Regenerate client from commit 1011da1 of spec repo * full spec processed * update algolia staging back to live url * algolia config remove api as stop url * only run on prs to master Co-authored-by: Jiri Kuncar <[email protected]> Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: GitHub Action <[email protected]> Co-authored-by: david.jones <[email protected]> Co-authored-by: Pierre Guceski <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Co-authored-by: sarina-dd <[email protected]> Co-authored-by: Hippolyte HENRY <[email protected]> Co-authored-by: Slavek Kabrda <[email protected]> Co-authored-by: Jiri Kuncar <[email protected]> Co-authored-by: skarimo <[email protected]> Co-authored-by: cswatt <[email protected]>
1 parent 28ecd55 commit f3405f3

File tree

3,046 files changed

+207050
-36146
lines changed

Some content is hidden

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

3,046 files changed

+207050
-36146
lines changed

.apigentools-info

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"additional_stamps": [],
3+
"info_version": "2",
4+
"spec_versions": {
5+
"v1": {
6+
"apigentools_version": "1.0.0b3",
7+
"regenerated": "2020-05-04 11:41:29.021825",
8+
"spec_repo_commit": "1011da1"
9+
},
10+
"v2": {
11+
"apigentools_version": "1.0.0b3",
12+
"regenerated": "2020-05-04 11:41:33.946938",
13+
"spec_repo_commit": "1011da1"
14+
}
15+
}
16+
}

.eslintrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,8 @@
122122
"browser": true,
123123
"es6": true,
124124
"jquery": true,
125-
"node": true
125+
"node": true,
126+
"jest": true
126127
},
127128
// Some globals that we still use in our "strict" code
128129
// False mean that they are read-only https://eslint.org/docs/user-guide/configuring#specifying-globals

.github/workflows/openapi.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Openapi
2+
on:
3+
pull_request:
4+
branches:
5+
- master
6+
paths:
7+
- 'data/api/**/full_spec.yaml'
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@master
14+
with:
15+
ref: ${{ github.event.pull_request.head.ref }}
16+
persist-credentials: false
17+
fetch-depth: 0
18+
- name: Install dependencies
19+
run: npm install js-yaml@^3.13.1 slugify@^1.4.0 @apidevtools/json-schema-ref-parser safe-json-stringify marked
20+
- name: Create local changes
21+
run: |
22+
npm run build:apiPages
23+
git add ./content ./data ./config
24+
- name: Commit files
25+
run: |
26+
git config --local user.email "[email protected]"
27+
git config --local user.name "GitHub Action"
28+
git commit -m "full spec processed"
29+
- name: Push changes
30+
uses: ad-m/github-push-action@master
31+
with:
32+
github_token: ${{ secrets.GITHUB_TOKEN }}
33+
# push changes to the branch that did the PR
34+
branch: refs/heads/${{ github.head_ref }}
35+
force: false

.gitlab-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ before_script:
1818

1919
# ================== templates ================== #
2020
.base_template: &base_template
21-
image: 486234852809.dkr.ecr.us-east-1.amazonaws.com/ci/corp-ci:master
21+
image: 486234852809.dkr.ecr.us-east-1.amazonaws.com/ci/corp-ci:zach_update-hugo-68-3
2222
tags:
2323
- "runner:main"
2424
- "size:large"

0 commit comments

Comments
 (0)