Skip to content

Commit

Permalink
fix: jsonvalue has been added; (#4604)
Browse files Browse the repository at this point in the history
fix: yaml has been updated;
  • Loading branch information
smansoft authored Apr 17, 2023
1 parent 0575c9f commit f3b46f4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
24 changes: 13 additions & 11 deletions jans-config-api/docs/jans-config-api-swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7652,6 +7652,8 @@ components:
type: string
description:
type: string
version:
type: string
configs:
type: object
additionalProperties:
Expand Down Expand Up @@ -7879,20 +7881,20 @@ components:
$ref: '#/components/schemas/AttributeValidation'
tooltip:
type: string
adminCanAccess:
whitePagesCanView:
type: boolean
adminCanView:
type: boolean
adminCanAccess:
type: boolean
adminCanEdit:
type: boolean
userCanEdit:
type: boolean
userCanAccess:
type: boolean
userCanView:
type: boolean
whitePagesCanView:
type: boolean
userCanEdit:
type: boolean
baseDn:
type: string
clientAuthMapSchema:
Expand Down Expand Up @@ -8632,8 +8634,6 @@ components:
type: object
additionalProperties:
type: string
fapi:
type: boolean
allResponseTypesSupported:
uniqueItems: true
type: array
Expand All @@ -8643,6 +8643,8 @@ components:
- code
- token
- id_token
fapi:
type: boolean
clientAuthMapSchema:
type: object
additionalProperties:
Expand Down Expand Up @@ -9431,10 +9433,10 @@ components:
type: array
items:
type: object
value:
type: object
displayValue:
type: string
value:
type: object
clientAuthMapSchema:
type: object
additionalProperties:
Expand Down Expand Up @@ -9602,8 +9604,6 @@ components:
SmtpConfiguration:
type: object
properties:
valid:
type: boolean
connectProtectionList:
type: array
items:
Expand All @@ -9612,6 +9612,8 @@ components:
- None
- StartTls
- SslTls
valid:
type: boolean
host:
type: string
port:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import java.util.Map;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;

import io.jans.orm.annotation.AttributeEnum;

Expand Down Expand Up @@ -63,9 +64,9 @@ public Enum<? extends AttributeEnum> resolveByValue(String value) {
return getByValue(value);
}

@JsonValue
@Override
public String toString() {
return value;
}

}

0 comments on commit f3b46f4

Please sign in to comment.