From 14d5dec28e1fc1205795d02f844418a864b1760e Mon Sep 17 00:00:00 2001 From: pujavs Date: Fri, 28 Jun 2024 18:12:00 +0530 Subject: [PATCH] docs(config-api): regenerating config swagger api Signed-off-by: pujavs --- .../docs/jans-config-api-swagger.yaml | 101 ++++++++++++++---- .../plugins/docs/lock-plugin-swagger.yaml | 2 + .../plugins/docs/scim-plugin-swagger.yaml | 4 + .../plugins/docs/user-mgt-plugin-swagger.yaml | 4 +- 4 files changed, 86 insertions(+), 25 deletions(-) diff --git a/jans-config-api/docs/jans-config-api-swagger.yaml b/jans-config-api/docs/jans-config-api-swagger.yaml index 20b991fe535..8186b5a87ed 100644 --- a/jans-config-api/docs/jans-config-api-swagger.yaml +++ b/jans-config-api/docs/jans-config-api-swagger.yaml @@ -732,6 +732,72 @@ paths: security: - oauth2: - https://jans.io/oauth/config/jans_asset-read + /api/v1/jans-assets/services: + get: + tags: + - Jans Assets + summary: Gets asset services + description: Gets asset services + operationId: get-asset-services + responses: + "200": + description: Ok + content: + application/json: + schema: + type: array + items: + type: string + "401": + description: Unauthorized + "404": + description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/ApiError' + "500": + description: InternalServerError + content: + application/json: + schema: + $ref: '#/components/schemas/ApiError' + security: + - oauth2: + - https://jans.io/oauth/config/jans_asset-read + /api/v1/jans-assets/asset-type: + get: + tags: + - Jans Assets + summary: Get valid asset types + description: Get valid asset types + operationId: get-asset-types + responses: + "200": + description: Ok + content: + application/json: + schema: + type: array + items: + type: string + "401": + description: Unauthorized + "404": + description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/ApiError' + "500": + description: InternalServerError + content: + application/json: + schema: + $ref: '#/components/schemas/ApiError' + security: + - oauth2: + - https://jans.io/oauth/config/jans_asset-read /api/v1/jans-assets/upload: put: tags: @@ -8093,7 +8159,7 @@ components: creationDate: type: string format: date-time - jansServices: + jansService: type: array items: type: string @@ -8107,10 +8173,6 @@ components: type: boolean jansAlias: type: string - jansModuleProperty: - type: array - items: - type: string baseDn: type: string DocumentPagedResult: @@ -8251,20 +8313,20 @@ components: type: string selected: type: boolean - adminCanView: + whitePagesCanView: type: boolean userCanEdit: type: boolean - userCanView: - type: boolean adminCanEdit: type: boolean + adminCanView: + type: boolean + userCanView: + type: boolean adminCanAccess: type: boolean userCanAccess: type: boolean - whitePagesCanView: - type: boolean baseDn: type: string PatchRequest: @@ -8395,12 +8457,6 @@ components: spontaneousScopeLifetime: type: integer format: int32 - tokenIndexAllocationBlockSize: - type: integer - format: int32 - tokenIndexLimit: - type: integer - format: int32 openidSubAttribute: type: string publicSubjectIdentifierPerClientEnabled: @@ -9049,7 +9105,6 @@ components: - REVOKE_TOKEN - REVOKE_SESSION - GLOBAL_TOKEN_REVOCATION - - STATUS_LIST - ACTIVE_SESSION - END_SESSION - STATUS_SESSION @@ -9095,6 +9150,8 @@ components: type: boolean lockMessageConfig: $ref: '#/components/schemas/LockMessageConfig' + fapi: + type: boolean allResponseTypesSupported: uniqueItems: true type: array @@ -9104,8 +9161,6 @@ components: - code - token - id_token - fapi: - type: boolean AuthenticationFilter: required: - baseDn @@ -9872,10 +9927,10 @@ components: type: array items: type: object - displayValue: - type: string value: type: object + displayValue: + type: string LocalizedString: type: object properties: @@ -10226,14 +10281,14 @@ components: type: boolean internal: type: boolean + locationPath: + type: string locationType: type: string enum: - ldap - db - file - locationPath: - type: string baseDn: type: string ScriptError: diff --git a/jans-config-api/plugins/docs/lock-plugin-swagger.yaml b/jans-config-api/plugins/docs/lock-plugin-swagger.yaml index 99109e9349e..c2fa4cfebee 100644 --- a/jans-config-api/plugins/docs/lock-plugin-swagger.yaml +++ b/jans-config-api/plugins/docs/lock-plugin-swagger.yaml @@ -105,6 +105,8 @@ components: properties: baseDN: type: string + baseEndpoint: + type: string tokenChannels: type: array items: diff --git a/jans-config-api/plugins/docs/scim-plugin-swagger.yaml b/jans-config-api/plugins/docs/scim-plugin-swagger.yaml index 53c64e2dba1..acd1e50578c 100644 --- a/jans-config-api/plugins/docs/scim-plugin-swagger.yaml +++ b/jans-config-api/plugins/docs/scim-plugin-swagger.yaml @@ -112,8 +112,12 @@ components: type: boolean disableJdkLogger: type: boolean + disableLoggerTimer: + type: boolean useLocalCache: type: boolean + skipDefinedPasswordValidation: + type: boolean JsonPatch: type: object securitySchemes: diff --git a/jans-config-api/plugins/docs/user-mgt-plugin-swagger.yaml b/jans-config-api/plugins/docs/user-mgt-plugin-swagger.yaml index 9113a738b01..a23d9c4e828 100644 --- a/jans-config-api/plugins/docs/user-mgt-plugin-swagger.yaml +++ b/jans-config-api/plugins/docs/user-mgt-plugin-swagger.yaml @@ -863,10 +863,10 @@ components: type: array items: type: object - displayValue: - type: string value: type: object + displayValue: + type: string CustomUser: type: object properties: