Product Guide

ReadMe Documentation

Welcome to the ReadMe Documentation, where you'll find comprehensive guides and community support to help you start working with ReadMe as quickly as possible!

Get Started
Ask A Question

Questions

1
ANSWERED

Auto generated code is missing request body

Hello My API specs are here: https://developer.assemblypayments.com/reference/#verifypennyamount For that specific API there are body params. In my uploaded YAML I have examples on the requestBody and within the responses section. However the generated code example all seem to be missing specifying the requestbody Is there something that I am doing wrong? Sample YAML for that API requestBody: content: application/json: schema: type: object required: - amount_1 - amount_2 properties: amount_1: description: First penny amount in cents. Can range from 1 to 30 cents. type: integer amount_2: description: Second penny amount in cents. Can range from 1 to 30 cents. type: integer examples: request: value: amount_1: 10 amount_2: 20 responses: '200': description: OK content: application/json: schema: allOf: - $ref: '#/components/schemas/bank_account' examples: request: value: amount_1: 10 amount_2: 20 response: value: bank_accounts: id: aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee active: true verification_status: verified currency: AUD bank: bank_name: Bank of Australia country: AUS account_name: Samuel Seller routing_number: XXXXX3 account_number: XXX234 holder_type: personal account_type: checking direct_debit_authority_status: approved links: self: /bank_accounts/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee users: /bank_accounts/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/users direct_debit_authorities: /bank_accounts/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/direct_debit_authorities

Posted by Adam Atawneh about a month ago