OpenAPITools / OpenAPITools/openapi-generator

[REQ] api.openapi-generator.tech should be behind TLS

Open
#16,256 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement: Feature
Dominant language
Java
Stars
26.8k
Forks
7.7k
PR merge metrics
PR metrics pending

Description

I like the online generator: https://api.openapi-generator.tech/index.html. And as you can see from clicking on that link HTTPS is supported. But it's not in the docs, and the server also accepts connections without redirect on plain HTTP. The generated projects also have links to HTTP URLs even if you use HTTPS to interact with it.

I debated whether to post this as a bug (I think it is), but happy to discuss either way. It could be that it is just not intended for production use, and that is justification enough for some people. But these days there are too many vulnerabilities associated with plain HTTP services to make it worth the risk IMO. I'm sure the host has support for TLS, so why not use it?

Inspecting response headers it looks like CloudFlare is actually fronting the service anyway, and I'm sure there must be a checkbox there for "HTTPS only". Should be easy for someone?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting api.openapi-generator.tech over both HTTP and HTTPS, including its response headers, then check the documentation and generated projects for HTTP links. Confirm whether the service is fronted by CloudFlare and where its TLS or redirect behavior is configured. Done means HTTP requests redirect securely and documented or generated links use HTTPS.

Written by the indexing model from the issue text.

Assessment

Domain
api, cloud, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.