Skip to content
Draft
Show file tree
Hide file tree
Changes from 27 commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
b383c78
Add initial rest-api-spec converter
pquentin Aug 20, 2025
a21366a
Wrap JSON data with endpoint name
pquentin Aug 22, 2025
ec3a1f6
Add headers
pquentin Aug 22, 2025
ef0ddb1
Extract visibility
pquentin Aug 25, 2025
3ec483a
Add debug logging for types
pquentin Aug 25, 2025
f1fc167
Improve type handling
pquentin Aug 25, 2025
10dd1c6
Extract builting mappings
pquentin Aug 25, 2025
8181cbf
Skip empty headers
pquentin Aug 25, 2025
53a3c55
Add more mappings
pquentin Aug 25, 2025
313e203
Add required field to bodies
pquentin Aug 25, 2025
e6c5ff0
Support CommonCatQueryParameters
pquentin Aug 26, 2025
71e8b13
Fix availability/stability
pquentin Aug 28, 2025
1062546
Improve urls generation
pquentin Aug 29, 2025
61ca205
Serialize description only if required?
pquentin Sep 15, 2025
0035962
Support more complex types
pquentin Sep 16, 2025
cb4a4e4
Add spec and docs for new logs streams endpoints (#5258)
lukewhiting Sep 17, 2025
c902f4f
Update specification output
elasticmachine Sep 17, 2025
ff98251
Add common cat API parameters for unit rendering (#5298)
DaveCTurner Sep 17, 2025
890c767
Edit the log streams endpoint docs (#5305)
lcawl Sep 17, 2025
6445491
Add speficaiton for a new rescore type (#5308)
mayya-sharipova Sep 18, 2025
95e241a
Update specification output
elasticmachine Sep 18, 2025
1f4968a
Update rest-api-spec (#5294)
github-actions[bot] Sep 18, 2025
99bc575
Update rest-api-spec (#5311)
github-actions[bot] Sep 18, 2025
03e01a1
Commit Cargo.lock changes
pquentin Sep 18, 2025
3e8a43b
Show unexpected union
pquentin Sep 18, 2025
f974687
Remove '| string' in query parameters
pquentin Sep 18, 2025
f987030
Merge remote-tracking branch 'origin/main' into rest-api-spec-converter
pquentin Oct 7, 2025
bce6bb6
Always specify body.required
pquentin Oct 10, 2025
e19f5e6
Fix type for uint
pquentin Oct 13, 2025
2d8db1f
Return string for string | string[]
pquentin Oct 13, 2025
7cc506f
Skip empty descriptions
pquentin Oct 13, 2025
52b7487
Merge remote-tracking branch 'origin/main' into rest-api-spec-converter
pquentin Oct 15, 2025
956ea2d
Merge remote-tracking branch 'origin/main' into rest-api-spec-converter
pquentin Oct 31, 2025
f352ecb
Remove redundant code comments
pquentin Oct 31, 2025
f113c8e
Specify default_value for expand_wildcards
pquentin Nov 3, 2025
29edfb4
Stop hardcoding expand_wildcards
pquentin Nov 3, 2025
dcc3b7e
Merge remote-tracking branch 'origin/main' into rest-api-spec-converter
pquentin Nov 3, 2025
f1e6a36
Improve union handling
pquentin Nov 4, 2025
8b221ec
Hardcode "serialize": "bulk" endpoints
pquentin Nov 5, 2025
d57b3a3
Handle deprecated URLs parts
pquentin Nov 6, 2025
93f22a4
Improve diff script
pquentin Nov 6, 2025
c839924
Tweak converter
pquentin Nov 6, 2025
2e85cd0
Merge remote-tracking branch 'origin/main' into rest-api-spec-converter
pquentin Nov 7, 2025
2e3fed2
Handle parameter visibility
pquentin Nov 10, 2025
27f8b40
Handle required parameters
pquentin Nov 10, 2025
b798c1d
Fix required parameters
pquentin Nov 10, 2025
5efb9fb
Fix experimental indices sample APIs
pquentin Nov 13, 2025
902a2c9
Allow string[] for routing parameters
pquentin Nov 14, 2025
0735d0b
Merge remote-tracking branch 'origin/main' into rest-api-spec-converter
pquentin Nov 18, 2025
184baba
Fix type of if_version in ingest.put_pipeline
pquentin Nov 18, 2025
f469ae4
Fix type of search_type in rank_eval
pquentin Nov 18, 2025
adbebfe
Fix type of CategoryId
pquentin Nov 18, 2025
0856018
Mark find_structure column_names as string | string[]
pquentin Nov 18, 2025
a7cf126
Allow empty URLs
pquentin Nov 19, 2025
dc9b048
Handle number|string special cases
pquentin Nov 19, 2025
ccc2dbb
Handle Fleet IndexName | IndexCase case
pquentin Nov 19, 2025
5e41093
Fail on unknown cases
pquentin Nov 19, 2025
0a8ef7d
Improve diff
pquentin Nov 19, 2025
a2e44c2
Remvope file committed by mistake
pquentin Nov 19, 2025
38d2688
Merge remote-tracking branch 'origin/main' into rest-api-spec-converter
pquentin Nov 19, 2025
9ea886e
Add optional body to three ML APIs
pquentin Nov 19, 2025
5146002
Fix ccs_minimize_roundtrips default value
pquentin Nov 19, 2025
dddbd65
Fix description for parameter that does not accept comma-separated va…
pquentin Nov 19, 2025
a3865a8
Stop trying to document private API
pquentin Nov 19, 2025
11d69f4
Remove parameter in find_structure API
pquentin Nov 19, 2025
cc82680
Fix find_stucture format enum
pquentin Nov 19, 2025
8f59ba4
Merge remote-tracking branch 'origin/main' into rest-api-spec-converter
pquentin Nov 27, 2025
0981e0b
Remove cruft
pquentin Nov 27, 2025
87add04
Remove more cruft
pquentin Nov 27, 2025
002ec3e
Update Rust edition to 2024 and refactor conditional statements
Anaethelion Nov 28, 2025
36262fd
Clarify main.rs
pquentin Nov 28, 2025
92e88f8
Remove diplay() call
pquentin Nov 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions compiler-rs/Cargo.lock

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

1 change: 1 addition & 0 deletions compiler-rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ members = [
"clients_schema",
"openapi_to_clients_schema",
"clients_schema_to_openapi",
"clients_schema_to_rest_api_spec",
"compiler-wasm-lib",
]

Expand Down
1 change: 1 addition & 0 deletions compiler-rs/clients_schema_to_rest_api_spec/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rest-api-output
18 changes: 18 additions & 0 deletions compiler-rs/clients_schema_to_rest_api_spec/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[package]
name = "clients_schema_to_rest_api_spec"
version = "0.1.0"
edition = "2021"
publish = false

[dependencies]
clients_schema = { path = "../clients_schema" }

argh = { workspace = true }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
anyhow = { workspace = true }
indexmap = { workspace = true }
itertools = { workspace = true }

tracing = { workspace = true }
tracing-subscriber = { workspace = true }
Loading