-
Notifications
You must be signed in to change notification settings - Fork 112
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
Route format
mime type should be used
#62
Comments
Hi there, I took a stab at fixing this here: ncpenke@58e16cf. Please let me know if you're interested in taking it. I can open a PR and incorporate any further feedback. Below is a screenshot with a modification to the json-web-api example. Thanks! |
I just encountered the same issue.
If I manually set the format to |
I reproduced this issue in a small example application. https://github.com/lukeb2e/rocket-openapi-format-swaggergen-bug Even though the endpoint is configured to The fix from @ncpenke looks good to me, but then I only started to use rust a few days ago. ;) |
I'm definitely being bitten by this one too. I'd like to POST some text as |
I also run in this unfortunate behaviour which makes it difficult to provide an easy to use API UI to test the interface with. Are there any plans to use the |
It would just depend on when I have time. And currently I'm not actively using this project much, so just doing maintenance. But if someone creates a MR I can review it and get it merged. So feel free to create one. |
Currently the
format
tag is ignored in routes.This should not be ignored but used.
This issue is also related to #10
The text was updated successfully, but these errors were encountered: