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
SpringFox Generation #69
Comments
Does this still apply? https://stackoverflow.com/questions/41675459/springfox-swagger-generation-creates-odd-schema I've never used springfox myself. |
@pluttrell Have you managed to resolve this? I'll close this for now. I believe the stackoverflow answer gives some hints how to do this. Feel free to re-open, if needed. |
@whiskeysierra Many thanks for getting back to me. That SO answer suggests a mechanism where the rendering of one time is replaced with another, which is helpful in controlling how it renders. In the example, it uses a
So to use that method, we'd need a type to use. In looking through the If one create a class just for this purpose, such as the following:
SpringFox then renders
|
We've found this library to work great parsing and rendering
MonetaryAmount
instances as:However when SpringFox generates the Swagger docs on the same code, it describes the rendering as:
Is there a way to solve this?
The text was updated successfully, but these errors were encountered: