cancel
Showing results for 
Search instead for 
Did you mean: 

Ensure API definition does not contain non-UTF-8 characters

Occasional Visitor

Ensure API definition does not contain non-UTF-8 characters

We are looking for a way to validate that our API definition only contains UTF-8 characters.  Certain special characters break functionality when deploying to our API platform.  Is there any way that this can be validated in SwaggerHub while creating the API?

1 REPLY 1
Moderator

Re: Ensure API definition does not contain non-UTF-8 characters

Hi,

 

There is nothing in the SwaggerHub editor which will detect non UTF-8 characters and flag them as invalid.  It may be better for you to copy your spec and put it in a UTF-8 check tool to flag any characters that are not UTF-8 encoded.  See the one below which may help.

 

https://onlineutf8tools.com/validate-utf8

 

 

Regards,

Marcus

SmartBear Support


Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
New Here?
Join us and watch the welcome video:
API Testing Mistake #2
APITestingMistake#2