Skip to content
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

Support prototype doc's path relative to the running script #203974

Open
Tracked by #200312
maximpn opened this issue Dec 12, 2024 · 0 comments
Open
Tracked by #200312

Support prototype doc's path relative to the running script #203974

maximpn opened this issue Dec 12, 2024 · 0 comments
Labels
docs enhancement New value added to drive a business result Team:Detection Rule Management Security Detection Rule Management Team Team:Detections and Resp Security Detection Response Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. triage_needed

Comments

@maximpn
Copy link
Contributor

maximpn commented Dec 12, 2024

Epic: #200312

Summary

Make prototype document relative path resolved against consumer script's path. Current directory shouldn't be used to resolve prototype document relative path .

Details

OpenAPI bundler kbn-openapi-bundler supports an external prototype document. It provides a way to declare OpenAPI informational properties like info and tags in a separate YAML file and provides better DX than editing that data in a JS file.

Currently bundler resolves prototype document's relative path against current directory. It makes it inconvenient to use external prototype documents.

Prototype document's path should be resolved based on the consumer script's path.

@botelastic botelastic bot added the needs-team Issues missing a team label label Dec 12, 2024
@maximpn maximpn added enhancement New value added to drive a business result Team:Detections and Resp Security Detection Response Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Detection Rule Management Security Detection Rule Management Team docs triage_needed and removed needs-team Issues missing a team label labels Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs enhancement New value added to drive a business result Team:Detection Rule Management Security Detection Rule Management Team Team:Detections and Resp Security Detection Response Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. triage_needed
Projects
None yet
Development

No branches or pull requests

1 participant