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

Make request & response body a Pkl viewer #15

Open
izelnakri opened this issue Mar 17, 2024 · 2 comments
Open

Make request & response body a Pkl viewer #15

izelnakri opened this issue Mar 17, 2024 · 2 comments

Comments

@izelnakri
Copy link

izelnakri commented Mar 17, 2024

Apple.released an awesome typed configuration language that is heavily inspired by nix and it is as minimal as it could be: https://pkl-lang.org/index.html

Clicking/expanding/browsing over data types and simplifying the view of these complex data/htpp body structures would be super useful.

I think this is rather a requirement than a nice to have for full adoption of this tool, and should ship with openapi-tui rather than being an addon perhaps to the TUI.

Maybe I can also contribute to this feature, let me know if you'd appreciate a PR implementing this.

@zaghaghi
Copy link
Owner

I've heard about the pkl-lang, but tbh I didn't quit get the idea. could you please give me an example?

does pkl-lang support api documentations like openapi?

p.s. contribution is highly appreciated :-)

@izelnakri
Copy link
Author

izelnakri commented Mar 17, 2024

openapi yaml configuration could be represented in pkl format in more terse and readable way. You can check the pkl examples on the website link I shared ;) Perhaps this could also help: https://github.com/apple/pkl-k8s-examples

Let's see what I can do, I'll see if theres a way to hack smt together(in a good way :))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants