Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update attribute names for IdVProvider request and response #669

Merged
merged 3 commits into from
Sep 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com).
* Copyright (c) 2024, WSO2 LLC. (http://www.wso2.com).
*
* WSO2 LLC. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
Expand Down Expand Up @@ -54,7 +54,7 @@ public IdVProviderRequest type(String type) {
}

@ApiModelProperty(example = "ONFIDO", required = true, value = "")
@JsonProperty("Type")
@JsonProperty("type")
@Valid
@NotNull(message = "Property type cannot be null.")

Expand All @@ -74,7 +74,7 @@ public IdVProviderRequest name(String name) {
}

@ApiModelProperty(example = "ONFIDO", required = true, value = "")
@JsonProperty("Name")
@JsonProperty("name")
@Valid
@NotNull(message = "Property name cannot be null.")

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com).
* Copyright (c) 2024, WSO2 LLC. (http://www.wso2.com).
*
* WSO2 LLC. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
Expand Down Expand Up @@ -73,7 +73,7 @@ public IdVProviderResponse type(String type) {
}

@ApiModelProperty(example = "ONFIDO", value = "")
@JsonProperty("Type")
@JsonProperty("type")
@Valid
public String getType() {
return type;
Expand All @@ -91,7 +91,7 @@ public IdVProviderResponse name(String name) {
}

@ApiModelProperty(example = "ONFIDO", value = "")
@JsonProperty("Name")
@JsonProperty("name")
@Valid
public String getName() {
return name;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -363,10 +363,10 @@ components:
id:
type: string
example: 123e4567-e89b-12d3-a456-556642440000
Type:
type:
JayaShakthi97 marked this conversation as resolved.
Show resolved Hide resolved
type: string
example: ONFIDO
Name:
name:
type: string
example: ONFIDO
description:
Expand All @@ -386,10 +386,10 @@ components:
IdVProviderRequest:
type: object
properties:
Type:
type:
type: string
example: ONFIDO
Name:
name:
type: string
example: ONFIDO
description:
Expand All @@ -407,8 +407,8 @@ components:
items:
$ref: '#/components/schemas/ConfigProperty'
required:
- Type
- Name
- type
- name
- isEnabled
ConfigProperty:
type: object
Expand Down
Loading