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

Generate raw json for scalar docs #1259

Open
an-tran511 opened this issue Dec 26, 2024 · 1 comment
Open

Generate raw json for scalar docs #1259

an-tran511 opened this issue Dec 26, 2024 · 1 comment

Comments

@an-tran511
Copy link

Hi, I am looking for a way to generate json doc using utoipa-scalar but could not find a way. I have to work around to use additional utoipa-swagger crate to be able to see both

@juhaku
Copy link
Owner

juhaku commented Jan 2, 2025

utoipa-scalar can either handle OpenApi or serde::Value types as specification. See here: https://docs.rs/utoipa-scalar/latest/utoipa_scalar/trait.Spec.html

Anything else needed would be an enhancement to the existing functionality.

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