Skip to content

Instantly share code, notes, and snippets.

@do-jade
do-jade / paymentService.yaml
Created October 29, 2025 02:19
Part 2 of CIS Assignment: Dohyun Lee
openapi: 3.0.3
info:
title: Payment Service API for Purchasing Movie Tickets
version: 1.0.0
description: |
This defines a 'Payment Service' used by the 'Backend Server.'
The service processes payments for created orders and allows checking/cancelling a payment.
It follows the steps below specified in the UML Diagram.
1) Backend Server posts a payment request.
2) Payment Service returns a created payment.