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

Is it possible to set the media type globally ? #4030

Closed
2 tasks done
Daranix opened this issue Sep 8, 2022 · 0 comments
Closed
2 tasks done

Is it possible to set the media type globally ? #4030

Daranix opened this issue Sep 8, 2022 · 0 comments

Comments

@Daranix
Copy link

Daranix commented Sep 8, 2022

Please take the time to search the repository, if your question has already been asked or answered.

  • What version of the library are you using?: 3.0.0

What kind of issue is this?

  • Question.

It is possible to globally change the media type that shows in the configuration, I have tried to change it from the docket class with the following lines without success.

docket.consumes(Collections.singleton("application/json"));
docket.produces(Collections.singleton("application/json"));
@Daranix Daranix changed the title Is possible to set the media type globaly ? Is possible to set the media type globally ? Sep 8, 2022
@Daranix Daranix changed the title Is possible to set the media type globally ? Is it possible to set the media type globally ? Sep 8, 2022
@Daranix Daranix closed this as completed Sep 23, 2022
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