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

Applying the format value to the type? #87

Open
melucas opened this issue Apr 26, 2021 · 0 comments
Open

Applying the format value to the type? #87

melucas opened this issue Apr 26, 2021 · 0 comments

Comments

@melucas
Copy link

melucas commented Apr 26, 2021

Is it possible to have the format value applied to the type in the same fashion as Swagger UI?

The following definition in the swagger.json will generate documentation in the screen shot below.

"CommissionPercent": {
"type": "number",
"description": "Commission percentage that is retained",
"format": "double",
"readOnly": true
}

Swagger UI Generated:
image

PDF Generated:
image

Thank you,
Michael

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

1 participant