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

Various model objects are missing "id" field #119

Open
wrightsonm opened this issue Sep 21, 2021 · 1 comment
Open

Various model objects are missing "id" field #119

wrightsonm opened this issue Sep 21, 2021 · 1 comment

Comments

@wrightsonm
Copy link

Having analysed many production messages I have found the following object types are missing the field "id"
This analysis only includes error messages.

Could not find member 'id' on object of type 'PtsV2PaymentsPost400Response'. Path 'id', line 2, position 32.
Could not find member 'id' on object of type 'PtsV2PayoutsPost400Response'. Path 'id', line 2, position 32.
Could not find member 'id' on object of type 'PtsV2PaymentsPost502Response'. Path 'id', line 2, position 32.
Could not find member 'id' on object of type 'RiskV1AuthenticationsPost400Response'. Path 'id', line 2, position 32.

The following code should be added / openapi spec updated:

/// <summary>
        /// An unique identification number to identify the submitted request. It is also appended to the endpoint of the resource.  On incremental authorizations, this value with be the same as the identification number returned in the original authorization response.  #### PIN debit Returned for all PIN debit services. 
        /// </summary>
        /// <value>An unique identification number to identify the submitted request. It is also appended to the endpoint of the resource.  On incremental authorizations, this value with be the same as the identification number returned in the original authorization response.  #### PIN debit Returned for all PIN debit services. </value>
        [DataMember(Name="id", EmitDefaultValue=false)]
        public string Id { get; set; }
@wrightsonm
Copy link
Author

PtsV2PaymentsRefundPost400Response is also missing id field

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant