juspay / hyperswitch

An open source payments switch written in Rust to make payments fast, reliable and affordable
https://hyperswitch.io/
Apache License 2.0
12.29k stars 1.31k forks source link

[BUG] Various errors in `rust_locker_open_api_spec.yml` #6321

Open vil02 opened 6 days ago

vil02 commented 6 days ago

Bug Description

The two identical files api-reference/rust_locker_open_api_spec.yml and api-reference-v2/rust_locker_open_api_spec.yml contain some mistakes and errors.

Expected Behavior

The documentation should be clear.

Actual Behavior

The documentation contains some errors.

Steps To Reproduce

Not relevant.

Context For The Bug

Some examples: https://github.com/juspay/hyperswitch/blob/d06d19fc96e1a74d20e2fe3613f86d541947e0ae/api-reference/rust_locker_open_api_spec.yml#L5 https://github.com/juspay/hyperswitch/blob/d06d19fc96e1a74d20e2fe3613f86d541947e0ae/api-reference/rust_locker_open_api_spec.yml#L12 https://github.com/juspay/hyperswitch/blob/d06d19fc96e1a74d20e2fe3613f86d541947e0ae/api-reference/rust_locker_open_api_spec.yml#L14 https://github.com/juspay/hyperswitch/blob/d06d19fc96e1a74d20e2fe3613f86d541947e0ae/api-reference/rust_locker_open_api_spec.yml#L42

Environment

Not relevant.

Have you spent some time checking if this bug has been raised before?

Have you read the Contributing Guidelines?

Are you willing to submit a PR?

Yes, I am willing to submit a PR!

Yashwanth-Chandrakumar commented 3 days ago

/assign

vil02 commented 3 days ago

@Yashwanth-Chandrakumar: just to avoid any confusion, when I was creating this issue, I made a note that I am willing to submit a PR and the pull-request is already there: #6322.

ravi-hash commented 19 hours ago

I would like to work on this. Can you assign it to me?

vil02 commented 18 hours ago

@ravi-hash: please note that this is already done: #6322 waits for a review. Moreover, while creating this issue I selected "Yes, I am willing to submit a PR!".