Forum Discussion

ParthasarathiP's avatar
ParthasarathiP
Occasional Visitor
6 years ago

Swagger Contact Info: Not getting displayed as expected

swagger: '2.0',
info: {
'version': '1.0',
'title': 'Sample Service',
'description': 'Test Service',
'contact': {
'name': 'My Team',
'url': 'https://www.sample.com'
}
}
I see the contact info is being displayed as `My Team - Website` in the swagger editor. Is there a way I can replace the Website to sometthing else?
Also, if I don't inlcude the url `name` is not being displayed in the swagger editor. Can someone look into this?
  • The Editor just uses Swagger UI for display.

     

    As Swagger UI is an open source project, you can customize it to your needs.