Files
gru_emoney_token-factory/api/packages/openapi/v1/paths/iso.yaml
defiQUG 651ff4f7eb Initial project setup: Add contracts, API definitions, tests, and documentation
- Add Foundry project configuration (foundry.toml, foundry.lock)
- Add Solidity contracts (TokenFactory138, BridgeVault138, ComplianceRegistry, etc.)
- Add API definitions (OpenAPI, GraphQL, gRPC, AsyncAPI)
- Add comprehensive test suite (unit, integration, fuzz, invariants)
- Add API services (REST, GraphQL, orchestrator, packet service)
- Add documentation (ISO20022 mapping, runbooks, adapter guides)
- Add development tools (RBC tool, Swagger UI, mock server)
- Update OpenZeppelin submodules to v5.0.0
2025-12-12 10:59:41 -08:00

75 lines
2.3 KiB
YAML

paths:
/iso/inbound:
post:
summary: Submit inbound ISO-20022 message
description: Submit an inbound ISO-20022 message (from rail adapter)
operationId: submitInboundMessage
tags:
- ISO
security:
- mtls: []
- oauth2:
- triggers:write
x-roles:
- POLICY_OPERATOR
x-idempotency: true
parameters:
- $ref: '../components/parameters.yaml#/components/parameters/IdempotencyKey'
requestBody:
required: true
content:
application/json:
schema:
$ref: '../components/schemas.yaml#/components/schemas/SubmitInboundMessageRequest'
application/xml:
schema:
type: string
description: ISO-20022 XML payload
responses:
'201':
description: Message submitted and trigger created
content:
application/json:
schema:
$ref: '../components/schemas.yaml#/components/schemas/Trigger'
'400':
$ref: '../openapi.yaml#/components/responses/BadRequest'
'409':
$ref: '../openapi.yaml#/components/responses/Conflict'
/iso/outbound:
post:
summary: Submit outbound ISO-20022 message
description: Submit an outbound ISO-20022 message (from ops/client)
operationId: submitOutboundMessage
tags:
- ISO
security:
- oauth2:
- triggers:write
x-idempotency: true
parameters:
- $ref: '../components/parameters.yaml#/components/parameters/IdempotencyKey'
requestBody:
required: true
content:
application/json:
schema:
$ref: '../components/schemas.yaml#/components/schemas/SubmitOutboundMessageRequest'
application/xml:
schema:
type: string
description: ISO-20022 XML payload
responses:
'201':
description: Message submitted and trigger created
content:
application/json:
schema:
$ref: '../components/schemas.yaml#/components/schemas/Trigger'
'400':
$ref: '../openapi.yaml#/components/responses/BadRequest'
'409':
$ref: '../openapi.yaml#/components/responses/Conflict'