Skip to content

Commit

Permalink
fix: use correct sdk tag (#3318)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Oct 26, 2022
1 parent 07e0212 commit aea37d6
Show file tree
Hide file tree
Showing 11 changed files with 188 additions and 223 deletions.
2 changes: 1 addition & 1 deletion client/handler.go
Expand Up @@ -763,7 +763,7 @@ type dynamicClientRegistrationDeleteOAuth2Client struct {
ID string `json:"id"`
}

// swagger:route DELETE /oauth2/register/{id} v0alpha2 deleteOidcDynamicClient
// swagger:route DELETE /oauth2/register/{id} oidc deleteOidcDynamicClient
//
// # Delete OAuth 2.0 Client using the OpenID Dynamic Client Registration Management Protocol
//
Expand Down
2 changes: 0 additions & 2 deletions internal/httpclient/.openapi-generator/FILES
Expand Up @@ -7,7 +7,6 @@ api_jwk.go
api_metadata.go
api_o_auth2.go
api_oidc.go
api_v0alpha2.go
api_wellknown.go
client.go
configuration.go
Expand Down Expand Up @@ -52,7 +51,6 @@ docs/TokenPaginationResponseHeaders.md
docs/TrustOAuth2JwtGrantIssuer.md
docs/TrustedOAuth2JwtGrantIssuer.md
docs/TrustedOAuth2JwtGrantJsonWebKey.md
docs/V0alpha2Api.md
docs/Version.md
docs/WellknownApi.md
git_push.sh
Expand Down
2 changes: 1 addition & 1 deletion internal/httpclient/README.md
Expand Up @@ -128,12 +128,12 @@ All URIs are relative to _http://localhost_
| _OAuth2Api_ | [**SetOAuth2ClientLifespans**](docs/OAuth2Api.md#setoauth2clientlifespans) | **Put** /admin/clients/{id}/lifespans | Set OAuth2 Client Token Lifespans |
| _OAuth2Api_ | [**TrustOAuth2JwtGrantIssuer**](docs/OAuth2Api.md#trustoauth2jwtgrantissuer) | **Post** /admin/trust/grants/jwt-bearer/issuers | Trust OAuth2 JWT Bearer Grant Type Issuer |
| _OidcApi_ | [**CreateOidcDynamicClient**](docs/OidcApi.md#createoidcdynamicclient) | **Post** /oauth2/register | Register OAuth2 Client using OpenID Dynamic Client Registration |
| _OidcApi_ | [**DeleteOidcDynamicClient**](docs/OidcApi.md#deleteoidcdynamicclient) | **Delete** /oauth2/register/{id} | Delete OAuth 2.0 Client using the OpenID Dynamic Client Registration Management Protocol |
| _OidcApi_ | [**DiscoverOidcConfiguration**](docs/OidcApi.md#discoveroidcconfiguration) | **Get** /.well-known/openid-configuration | OpenID Connect Discovery |
| _OidcApi_ | [**GetOidcDynamicClient**](docs/OidcApi.md#getoidcdynamicclient) | **Get** /oauth2/register/{id} | Get OAuth2 Client using OpenID Dynamic Client Registration |
| _OidcApi_ | [**GetOidcUserInfo**](docs/OidcApi.md#getoidcuserinfo) | **Get** /userinfo | OpenID Connect Userinfo |
| _OidcApi_ | [**RevokeOidcSession**](docs/OidcApi.md#revokeoidcsession) | **Get** /oauth2/sessions/logout | OpenID Connect Front- and Back-channel Enabled Logout |
| _OidcApi_ | [**SetOidcDynamicClient**](docs/OidcApi.md#setoidcdynamicclient) | **Put** /oauth2/register/{id} | Set OAuth2 Client using OpenID Dynamic Client Registration |
| _V0alpha2Api_ | [**DeleteOidcDynamicClient**](docs/V0alpha2Api.md#deleteoidcdynamicclient) | **Delete** /oauth2/register/{id} | Delete OAuth 2.0 Client using the OpenID Dynamic Client Registration Management Protocol |
| _WellknownApi_ | [**DiscoverJsonWebKeys**](docs/WellknownApi.md#discoverjsonwebkeys) | **Get** /.well-known/jwks.json | Discover Well-Known JSON Web Keys |

## Documentation For Models
Expand Down
2 changes: 1 addition & 1 deletion internal/httpclient/api/openapi.yaml
Expand Up @@ -1714,7 +1714,7 @@ paths:
Delete OAuth 2.0 Client using the OpenID Dynamic Client Registration
Management Protocol
tags:
- v0alpha2
- oidc
get:
description: "This endpoint behaves like the administrative counterpart
(`getOAuth2Client`)\
Expand Down
109 changes: 109 additions & 0 deletions internal/httpclient/api_oidc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

133 changes: 0 additions & 133 deletions internal/httpclient/api_v0alpha2.go

This file was deleted.

3 changes: 0 additions & 3 deletions internal/httpclient/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit aea37d6

Please sign in to comment.