elements
elements copied to clipboard
Contact > url not visible
Describe the bug
If I have only a contact url and no email, contact won't be rendered by elements.
To Reproduce
- Given this OpenAPI document
openapi: 3.0.1
info:
title: My title
summary: My Summary
description: |
My description
contact:
name: API Support Team
url: https://google.com
Expected behavior
Contact link should be visible even if there is only an url and no email.
Additional context
Add any other context about the problem here.
Screenshots
Environment (remove any that are not applicable):
- Library version: 7.5.13
- OS: [e.g. Windows 7]
- Browser: [e.g. Chrome 61]
- Platform: [desktop or web]
@jschaefer77 It seems like it'll only show up if there's something in the terms of service. Adding that should be a workaround for now. We'll work on fixing this unless you want to take a stab at it.