Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ ARG SEARCH_VERSION=v2.1.0
ARG ORCHESTRATION_VERSION=v2.4.0
ARG RECONCILIATION_VERSION=v2.2.1
ARG GATEWAY_VERSION=v2.1.0
ARG TRANSACTIONS_VERSION=b3299f19ef3f66c74f353232095854624206409f

sources:
FROM core+base-image
Expand Down Expand Up @@ -43,6 +44,7 @@ build-final-spec:
RUN curl -L https://github.com/formancehq/wallets/releases/download/${WALLETS_VERSION}/openapi.yaml -o wallets.openapi.yaml
RUN curl -L https://github.com/formancehq/reconciliation/releases/download/${RECONCILIATION_VERSION}/openapi.yaml -o reconciliation.openapi.yaml
RUN curl -L https://github.com/formancehq/flows/releases/download/${ORCHESTRATION_VERSION}/openapi.yaml -o orchestration.openapi.yaml
RUN curl -L https://github.com/formancehq/transactions/releases/download/${TRANSACTIONS_VERSION}/openapi.yaml -o transactions.openapi.yaml

WORKDIR /src/releases
RUN npm run build
Expand Down
4 changes: 4 additions & 0 deletions releases/base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ tags:
- name: search.v1
- name: webhooks.v1
- name: wallets.v1
- name: transactions.v1

components:
securitySchemes:
Expand Down Expand Up @@ -97,3 +98,6 @@ x-tagGroups:
- name: Reconciliation
tags:
- reconciliation.v1
- name: Transactions
tags:
- transactions.v1
12 changes: 12 additions & 0 deletions releases/openapi-merge.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,18 @@
"dispute": {
"prefix": "reconciliation"
}
},
{
"inputFile": "./../components/transactions.openapi.yaml",
"pathModification": {
"prepend": "/api/transactions"
},
"operationSelection": {
"excludeTags": ["Health"]
},
"dispute": {
"prefix": "transactions"
}
}
],
"output": "./build/generate.json"
Expand Down