You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Question] Code generation with TLS support #12776
Does openapi-generator supports generating code for the client or server in go that communicates with TLS or MTLS?
IIUC The TLS support is introduced in OpenAPI Spec 3.1.x while the latest openapi-generator is compatible with openAPI Spec 3.0 thus the TLS support is not yet supported by openapi-generator tool - is my understanding correct? Thanks
Throwing my support in here as well. We use mTLS for our API, which is fully supported by the OpenAPI specification (see ghusta's link).
I know that #22229 added support for actually passing in the mTLS variables. It would be good for it to actually pick up on and require mTLS based on the mutualTLS setting instead of throwing:
[main] ERROR o.o.codegen.DefaultCodegen - Unknown type `mutualTLS` found in the security definition `null`.
Activity
ghusta commentedon Mar 4, 2023
See also mutual TLS mention at : https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#security-scheme-object
ZandercraftGames commentedon May 28, 2026
Throwing my support in here as well. We use mTLS for our API, which is fully supported by the OpenAPI specification (see ghusta's link).
I know that #22229 added support for actually passing in the mTLS variables. It would be good for it to actually pick up on and require mTLS based on the
mutualTLSsetting instead of throwing: