Skip to content

[codex] Document egress payment method#278

Merged
javorosas merged 1 commit into
mainfrom
codex/document-egress-payment-method
Jun 22, 2026
Merged

[codex] Document egress payment method#278
javorosas merged 1 commit into
mainfrom
codex/document-egress-payment-method

Conversation

@javorosas

Copy link
Copy Markdown
Member

Summary

  • Document payment_method on Egress invoice create and edit schemas in the Spanish OpenAPI v2 spec.
  • Mirror the same optional PUE-only field in the English OpenAPI v2 spec.

Validation

  • ruby -e "require 'yaml'; %w[website/openapi_v2.yaml website/openapi_v2.en.yaml].each { |f| YAML.load_file(f); puts \"#{f} ok\" }"\n- git diff --check\n\n## Notes\n- pnpm --dir website typecheck currently fails before this change on src/theme/Navbar/Logo/index.tsx because TypeScript cannot resolve @docusaurus/theme-common.\n

@javorosas javorosas force-pushed the codex/document-egress-payment-method branch from 6aa33bf to 60c531b Compare June 22, 2026 16:34
@javorosas javorosas marked this pull request as ready for review June 22, 2026 16:36
@javorosas javorosas self-assigned this Jun 22, 2026
@javorosas javorosas requested a review from Copilot June 22, 2026 16:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the OpenAPI v2 documentation to explicitly document the payment_method field for Egress (credit note) invoice create and edit input schemas, aligning the Spanish and English specs and clarifying that only PUE is allowed (and optional for Egress).

Changes:

  • Added payment_method to InvoiceEgresoInput (create) in Spanish and English specs with enum: [PUE] and default: PUE.
  • Added payment_method to InvoiceEgresoEditInput (edit) in Spanish and English specs with enum: [PUE] and matching descriptions.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
website/openapi_v2.yaml Documents payment_method for Egress invoice create/edit schemas as optional and restricted to PUE.
website/openapi_v2.en.yaml Mirrors the same Egress-only payment_method documentation in the English OpenAPI spec.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@javorosas javorosas merged commit 948b321 into main Jun 22, 2026
1 check passed
@javorosas javorosas deleted the codex/document-egress-payment-method branch June 22, 2026 17:07
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.

3 participants