Forum Discussion

zacka's avatar
zacka
New Member
5 years ago
Solved

UTF-8 springdoc and swagger

Hello,

 

I'm using springdoc (springdoc-openapi-ui) for rest documentation for a kotlin spring boot application (Gradle build) and I want to know if there's a way to setup the response header content type encoding to utf-8. The defautlt returned content type is : Content-Type: application/json;charset=ISO-8859-1.

 

 
  • Hi zacka,

     

    springdoc-openapi is not one our projects and we don't know it well enough to provide support for it. Your best bet is to go through its documentation at https://springdoc.org, and if you don't find answers to your questions, file a ticket with that project directly.

1 Reply

  • HKosova's avatar
    HKosova
    SmartBear Alumni (Retired)

    Hi zacka,

     

    springdoc-openapi is not one our projects and we don't know it well enough to provide support for it. Your best bet is to go through its documentation at https://springdoc.org, and if you don't find answers to your questions, file a ticket with that project directly.