mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
The directory in the command was missing the /generated directory and would cause all definitions to be regenerated in the wrong place. (#72766)
This commit is contained in:
parent
2a82ff9566
commit
ff9f06b880
1 changed files with 2 additions and 2 deletions
|
@ -23,10 +23,10 @@ At the root of the Kibana repository, run the following commands:
|
|||
|
||||
```sh
|
||||
# OSS
|
||||
yarn spec_to_console -g "<ELASTICSEARCH-REPO-FOLDER>/rest-api-spec/src/main/resources/rest-api-spec/api/*" -d "src/plugins/console/server/lib/spec_definitions/json"
|
||||
yarn spec_to_console -g "<ELASTICSEARCH-REPO-FOLDER>/rest-api-spec/src/main/resources/rest-api-spec/api/*" -d "src/plugins/console/server/lib/spec_definitions/json/generated"
|
||||
|
||||
# X-pack
|
||||
yarn spec_to_console -g "<ELASTICSEARCH-REPO-FOLDER>/x-pack/plugin/src/test/resources/rest-api-spec/api/*" -d "x-pack/plugins/console_extensions/server/lib/spec_definitions/json"
|
||||
yarn spec_to_console -g "<ELASTICSEARCH-REPO-FOLDER>/x-pack/plugin/src/test/resources/rest-api-spec/api/*" -d "x-pack/plugins/console_extensions/server/lib/spec_definitions/json/generated"
|
||||
```
|
||||
|
||||
### Information used in Console that is not available in the REST spec
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue