Skip to content

Commit

Permalink
autogen(openapi): regenerate swagger spec and internal client
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
ory-bot committed Jun 6, 2024
1 parent 4e3fad4 commit 369aad4
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 2 deletions.
8 changes: 8 additions & 0 deletions internal/client-go/api_identity.go

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

8 changes: 8 additions & 0 deletions internal/httpclient/api_identity.go

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

5 changes: 4 additions & 1 deletion spec/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -4969,7 +4969,7 @@
},
"/admin/sessions/{id}/extend": {
"patch": {
"description": "Calling this endpoint extends the given session ID. If `session.earliest_possible_extend` is set it\nwill only extend the session after the specified time has passed.\n\nRetrieve the session ID from the `/sessions/whoami` endpoint / `toSession` SDK method.",
"description": "Calling this endpoint extends the given session ID. If `session.earliest_possible_extend` is set it\nwill only extend the session after the specified time has passed.\n\nThis endpoint returns per default a 204 No Content response on success. Older Ory Network projects may\nreturn a 200 OK response with the session in the body. Returning the session as part of the response\nwill be deprecated in the future and should not be relied upon.\n\nRetrieve the session ID from the `/sessions/whoami` endpoint / `toSession` SDK method.",
"operationId": "extendSession",
"parameters": [
{
Expand All @@ -4993,6 +4993,9 @@
},
"description": "session"
},
"204": {
"$ref": "#/components/responses/emptyResponse"
},
"400": {
"content": {
"application/json": {
Expand Down
5 changes: 4 additions & 1 deletion spec/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -1188,7 +1188,7 @@
"oryAccessToken": []
}
],
"description": "Calling this endpoint extends the given session ID. If `session.earliest_possible_extend` is set it\nwill only extend the session after the specified time has passed.\n\nRetrieve the session ID from the `/sessions/whoami` endpoint / `toSession` SDK method.",
"description": "Calling this endpoint extends the given session ID. If `session.earliest_possible_extend` is set it\nwill only extend the session after the specified time has passed.\n\nThis endpoint returns per default a 204 No Content response on success. Older Ory Network projects may\nreturn a 200 OK response with the session in the body. Returning the session as part of the response\nwill be deprecated in the future and should not be relied upon.\n\nRetrieve the session ID from the `/sessions/whoami` endpoint / `toSession` SDK method.",
"schemes": [
"http",
"https"
Expand All @@ -1214,6 +1214,9 @@
"$ref": "#/definitions/session"
}
},
"204": {
"$ref": "#/responses/emptyResponse"
},
"400": {
"description": "errorGeneric",
"schema": {
Expand Down

0 comments on commit 369aad4

Please sign in to comment.