-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ML] Extract apiDoc params from the schema definitions #62933
Merged
Merged
Changes from 18 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
011edc2
[ML] WIP apiDoc schema extractor
darnautov 4ef204c
[ML] extract actual type
darnautov 95827f7
[ML] refactor schema definitions
darnautov 4230d93
[ML] Update README.md
darnautov 4cd0f09
[ML] extract nested
darnautov 1108ecf
[ML] call job validation endpoint with complete payload
darnautov afbd0c7
[ML] escape special chars and fix line breaks
darnautov 9c45092
[ML] clean up extractDocEntries
darnautov abebb69
[ML] serializeWithType
darnautov d50da55
[ML] add missing annotations
darnautov 2ff4843
[ML] fix parent schema assigment
darnautov 0a03db4
[ML] support object composition
darnautov e3ee24e
Merge remote-tracking branch 'upstream/master' into ML-apiDoc-gen
darnautov 2d37294
[ML] support multiple schemas per block
darnautov 78cf4c9
[ML] fix for collections
darnautov ba69cf9
Merge branch 'master' into ML-apiDoc-gen
elasticmachine e9ee5f2
[ML] fix calendarIdsSchema
darnautov 65b1ef4
[ML] add ml package.json with apidoc commands
darnautov af0de0e
Merge remote-tracking branch 'upstream/master' into ML-apiDoc-gen
darnautov cb3e285
[ML] use the single output markdown file
darnautov ec9f680
[ML] fix typo
darnautov 7ac83a4
[ML] change the Calendars order
darnautov 2195ecb
[ML] adjust the order in adidoc.json
darnautov ab83920
[ML] update api version
darnautov b05b7bd
Merge branch 'master' into ML-apiDoc-gen
elasticmachine ee5c26c
[ML] update tsconfig.json include
darnautov d4b7b54
Merge remote-tracking branch 'origin/ML-apiDoc-gen' into ML-apiDoc-gen
darnautov 9651853
[ML] update packages/kbn-pm/dist/index.js
darnautov f429087
[ML] update ML overrides in .eslintrc.js
darnautov 07f0680
[ML] yarn.lock symlink
darnautov 0160f0c
Revert "[ML] yarn.lock symlink"
darnautov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"author": "Elastic", | ||
"name": "ml", | ||
"version": "0.0.0", | ||
"private": true, | ||
"license": "Elastic-License", | ||
"scripts": { | ||
"build:apiDocScripts": "cd server/routes/apidoc_scripts && tsc", | ||
"apiDocs": "yarn build:apiDocScripts && cd ./server/routes/ && apidoc --parse-workers apischema=./apidoc_scripts/target/schema_worker.js --parse-parsers apischema=./apidoc_scripts/target/schema_parser.js -i . -o ../routes_doc && apidoc-markdown --multi --createPath -p ../routes_doc -o ../routes_doc/md/" | ||
}, | ||
"devDependencies": { | ||
"apidoc": "^0.20.1", | ||
"apidoc-markdown": "^5.0.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to create an
index.md
file, as otherwise we will need and maintain that.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
going to create a feature-request in the
apidoc-markdown
repo