[codex] Document egress payment method#278
Merged
Merged
Conversation
6aa33bf to
60c531b
Compare
Contributor
There was a problem hiding this comment.
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_methodtoInvoiceEgresoInput(create) in Spanish and English specs withenum: [PUE]anddefault: PUE. - Added
payment_methodtoInvoiceEgresoEditInput(edit) in Spanish and English specs withenum: [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.
edgtz
approved these changes
Jun 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
payment_methodon Egress invoice create and edit schemas in the Spanish OpenAPI v2 spec.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 typecheckcurrently fails before this change onsrc/theme/Navbar/Logo/index.tsxbecause TypeScript cannot resolve@docusaurus/theme-common.\n