Skip to content

Commit

Permalink
add mutualTLS as a SecuritySchemeType
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-confino committed May 13, 2024
1 parent dfedd16 commit 634ced9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
package org.eclipse.microprofile.openapi.annotations.enums;

public enum SecuritySchemeType {
DEFAULT(""), APIKEY("apiKey"), HTTP("http"), OPENIDCONNECT("openIdConnect"), OAUTH2("oauth2");
DEFAULT(""), APIKEY("apiKey"), HTTP("http"), OPENIDCONNECT("openIdConnect"), OAUTH2("oauth2"), MUTUALTLS(
"mutualTLS");

private String value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
* </ul>
*/

@org.osgi.annotation.versioning.Version("1.0")
@org.osgi.annotation.versioning.Version("1.1")
@org.osgi.annotation.versioning.ProviderType
package org.eclipse.microprofile.openapi.annotations.enums;
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public interface SecurityScheme extends Constructible, Extensible<SecurityScheme
* </p>
*/
public enum Type {
APIKEY("apiKey"), HTTP("http"), OAUTH2("oauth2"), OPENIDCONNECT("openIdConnect");
APIKEY("apiKey"), HTTP("http"), OAUTH2("oauth2"), OPENIDCONNECT("openIdConnect"), MUTUALTLS("mutualTLS");

private final String value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
* </pre>
*/

@org.osgi.annotation.versioning.Version("2.0")
@org.osgi.annotation.versioning.Version("2.1")
@org.osgi.annotation.versioning.ProviderType
package org.eclipse.microprofile.openapi.models.security;

0 comments on commit 634ced9

Please sign in to comment.