Skip to content

Commit

Permalink
Update SDKs
Browse files Browse the repository at this point in the history
  • Loading branch information
harnash committed Sep 14, 2021
1 parent 16f4f3c commit 1a3c131
Show file tree
Hide file tree
Showing 7 changed files with 45 additions and 13 deletions.
2 changes: 1 addition & 1 deletion internal/httpclient/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Class | Method | HTTP request | Description
*V0alpha1Api* | [**AdminDeleteIdentity**](docs/V0alpha1Api.md#admindeleteidentity) | **Delete** /identities/{id} | Delete an Identity
*V0alpha1Api* | [**AdminGetIdentity**](docs/V0alpha1Api.md#admingetidentity) | **Get** /identities/{id} | Get an Identity
*V0alpha1Api* | [**AdminListIdentities**](docs/V0alpha1Api.md#adminlistidentities) | **Get** /identities | List Identities
*V0alpha1Api* | [**AdminLogoutIdentity**](docs/V0alpha1Api.md#adminlogoutidentity) | **Delete** /sessions/identity/{id} | Calling this endpoint irrecoverably and permanently Invalidates all sessions that belong to a given Identity.
*V0alpha1Api* | [**AdminLogoutIdentity**](docs/V0alpha1Api.md#adminlogoutidentity) | **Delete** /sessions/identity/{id} | Calling this endpoint irrecoverably and permanently deletes and invalidates all sessions that belong to the given Identity.
*V0alpha1Api* | [**AdminUpdateIdentity**](docs/V0alpha1Api.md#adminupdateidentity) | **Put** /identities/{id} | Update an Identity
*V0alpha1Api* | [**CreateSelfServiceLogoutFlowUrlForBrowsers**](docs/V0alpha1Api.md#createselfservicelogoutflowurlforbrowsers) | **Get** /self-service/logout/browser | Create a Logout URL for Browsers
*V0alpha1Api* | [**GetJsonSchema**](docs/V0alpha1Api.md#getjsonschema) | **Get** /schemas/{id} |
Expand Down
12 changes: 9 additions & 3 deletions internal/httpclient/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1820,7 +1820,7 @@ paths:
type: string
style: simple
responses:
"202":
"204":
description: Empty responses are sent when, for example, resources are deleted.
The HTTP status code for empty responses is typically 201.
"400":
Expand All @@ -1835,6 +1835,12 @@ paths:
schema:
$ref: '#/components/schemas/jsonError'
description: jsonError
"404":
content:
application/json:
schema:
$ref: '#/components/schemas/jsonError'
description: jsonError
"500":
content:
application/json:
Expand All @@ -1843,8 +1849,8 @@ paths:
description: jsonError
security:
- oryAccessToken: []
summary: Calling this endpoint irrecoverably and permanently Invalidates all
sessions that belong to a given Identity.
summary: Calling this endpoint irrecoverably and permanently deletes and invalidates
all sessions that belong to the given Identity.
tags:
- v0alpha1
/sessions/whoami:
Expand Down
14 changes: 12 additions & 2 deletions internal/httpclient/api_v0alpha1.go

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

4 changes: 2 additions & 2 deletions internal/httpclient/docs/V0alpha1Api.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Method | HTTP request | Description
[**AdminDeleteIdentity**](V0alpha1Api.md#AdminDeleteIdentity) | **Delete** /identities/{id} | Delete an Identity
[**AdminGetIdentity**](V0alpha1Api.md#AdminGetIdentity) | **Get** /identities/{id} | Get an Identity
[**AdminListIdentities**](V0alpha1Api.md#AdminListIdentities) | **Get** /identities | List Identities
[**AdminLogoutIdentity**](V0alpha1Api.md#AdminLogoutIdentity) | **Delete** /sessions/identity/{id} | Calling this endpoint irrecoverably and permanently Invalidates all sessions that belong to a given Identity.
[**AdminLogoutIdentity**](V0alpha1Api.md#AdminLogoutIdentity) | **Delete** /sessions/identity/{id} | Calling this endpoint irrecoverably and permanently deletes and invalidates all sessions that belong to the given Identity.
[**AdminUpdateIdentity**](V0alpha1Api.md#AdminUpdateIdentity) | **Put** /identities/{id} | Update an Identity
[**CreateSelfServiceLogoutFlowUrlForBrowsers**](V0alpha1Api.md#CreateSelfServiceLogoutFlowUrlForBrowsers) | **Get** /self-service/logout/browser | Create a Logout URL for Browsers
[**GetJsonSchema**](V0alpha1Api.md#GetJsonSchema) | **Get** /schemas/{id} |
Expand Down Expand Up @@ -382,7 +382,7 @@ Name | Type | Description | Notes

> AdminLogoutIdentity(ctx, id).Execute()
Calling this endpoint irrecoverably and permanently Invalidates all sessions that belong to a given Identity.
Calling this endpoint irrecoverably and permanently deletes and invalidates all sessions that belong to the given Identity.



Expand Down
2 changes: 1 addition & 1 deletion session/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ type adminLogoutIdentity struct {

// swagger:route DELETE /sessions/identity/{id} v0alpha1 adminLogoutIdentity
//
// Calling this endpoint irrecoverably and permanently Invalidates all sessions that belong to the given Identity.
// Calling this endpoint irrecoverably and permanently deletes and invalidates all sessions that belong to the given Identity.
//
// This endpoint is useful for:
//
Expand Down
14 changes: 12 additions & 2 deletions spec/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -4138,7 +4138,7 @@
}
],
"responses": {
"202": {
"204": {
"$ref": "#/components/responses/emptyResponse"
},
"400": {
Expand All @@ -4161,6 +4161,16 @@
},
"description": "jsonError"
},
"404": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/jsonError"
}
}
},
"description": "jsonError"
},
"500": {
"content": {
"application/json": {
Expand All @@ -4177,7 +4187,7 @@
"oryAccessToken": []
}
],
"summary": "Calling this endpoint irrecoverably and permanently Invalidates all sessions that belong to a given Identity.",
"summary": "Calling this endpoint irrecoverably and permanently deletes and invalidates all sessions that belong to the given Identity.",
"tags": [
"v0alpha1"
]
Expand Down
10 changes: 8 additions & 2 deletions spec/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -1703,7 +1703,7 @@
"tags": [
"v0alpha1"
],
"summary": "Calling this endpoint irrecoverably and permanently Invalidates all sessions that belong to a given Identity.",
"summary": "Calling this endpoint irrecoverably and permanently deletes and invalidates all sessions that belong to the given Identity.",
"operationId": "adminLogoutIdentity",
"parameters": [
{
Expand All @@ -1715,7 +1715,7 @@
}
],
"responses": {
"202": {
"204": {
"$ref": "#/responses/emptyResponse"
},
"400": {
Expand All @@ -1730,6 +1730,12 @@
"$ref": "#/definitions/jsonError"
}
},
"404": {
"description": "jsonError",
"schema": {
"$ref": "#/definitions/jsonError"
}
},
"500": {
"description": "jsonError",
"schema": {
Expand Down

0 comments on commit 1a3c131

Please sign in to comment.