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

DEVEXP-521: E2E Verification/Report #129

Merged
merged 6 commits into from
Aug 28, 2024

Conversation

asein-sinch
Copy link
Collaborator

No description provided.

const getParams = this.client.extractQueryParams<ReportPhoneCallVerificationByIdentityRequestData>(
data, [] as never[]);
const headers: { [key: string]: string | undefined } = {
'Content-Type': 'application/json; charset=UTF-8',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

outside of the PR scope, but:

  1. Verification OAS file do not specify any charset, only 'application/json' and is compliant with OAS (https://spec.openapis.org/oas/v3.0.3.html#fixed-fields-10)
  2. 'application/json' by default mean UTF-8 (RFC chapter "3. Encoding": https://www.ietf.org/rfc/rfc4627.txt)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, there has been a spec update from the time these files were generated.

Base automatically changed from DEVEXP-520_E2E-Verification/Start to v1.2-next August 28, 2024 08:21
@asein-sinch asein-sinch merged commit 0a321c1 into v1.2-next Aug 28, 2024
4 checks passed
@asein-sinch asein-sinch deleted the DEVEXP-521_E2E-Verification/Report branch August 28, 2024 08:41
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

Successfully merging this pull request may close these issues.

2 participants