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

HTML clients seem to have "helloreverb" hardcoded as a fallback for missing info #140

Open
yochannah opened this issue Aug 2, 2018 · 4 comments
Assignees

Comments

@yochannah
Copy link

Symptom: omit info > contact > email (or url) - This seems to validate in the swagger editor but if you generate an html client, it will be autofilled with helloreverb.com.

Affected templates: HTML and HTML2. Dynamic HTML I think is fine.

You can try reproducing it by comparing the output with and without lines 6-8 in this file

@HugoMario HugoMario self-assigned this Aug 8, 2018
@DiegoVillalpandoTR
Copy link

This also happens on openapi 3.0.3 when generating html client.

@bushwakko
Copy link

What is even the point of the code examples that are generated? They contain no models, but do refer to them...

@mattnedrich
Copy link

This is still a problem - happens when generating static html documentation from a spec file.

@maloewe-ona
Copy link

helloreverb.com seems to be defined as default values here:

additionalProperties.put("infoUrl", "https://helloreverb.com");
additionalProperties.put("infoEmail", "[email protected]");

additionalProperties.put("infoUrl", "https://helloreverb.com");
additionalProperties.put("infoEmail", "[email protected]");

This seems to affect quite a lot of sites; just search for [email protected] with your favorite web search engine and you will see multiple production OpenAPI documentation pages with that e-mail address.

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

6 participants