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

Fix OAS file in YAML format is not formatted after hydration #25

Open
edenreich opened this issue Nov 22, 2024 · 0 comments
Open

Fix OAS file in YAML format is not formatted after hydration #25

edenreich opened this issue Nov 22, 2024 · 0 comments
Labels
bug Something isn't working priority: minor This issue is a minor priority

Comments

@edenreich
Copy link
Owner

edenreich commented Nov 22, 2024

Summary

After running hydration the environment variables are being saved to the OpenAPI Spec, but the formatting of the document seems off.

The serde_json crate seems to have pretty print, but the serde_yaml crate don't for whatever reason - a little bit inconsistency there.

This has to be addressed preferably without too many dependencies, previously I used prettier, but it would be maybe better without it if possible.

@edenreich edenreich added this to Kopgen Nov 22, 2024
@edenreich edenreich converted this from a draft issue Nov 22, 2024
@edenreich edenreich changed the title Fix OAS file is not formatted after hydration Fix OAS file in YAML format is not formatted after hydration Nov 23, 2024
@edenreich edenreich moved this from Ready to Backlog in Kopgen Nov 27, 2024
@edenreich edenreich added bug Something isn't working priority: minor This issue is a minor priority labels Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority: minor This issue is a minor priority
Projects
Status: Backlog
Development

No branches or pull requests

1 participant