# postman-cs/cse-case-study-exercise architecture

> Architecture diagram of the GitHub repository postman-cs/cse-case-study-exercise, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-04). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/postman-cs/cse-case-study-exercise
- Repository: https://github.com/postman-cs/cse-case-study-exercise

## Overview

This repository is a customer-success implementation exercise, not a running application. Its documented goal is to onboard a service from an OpenAPI spec into Postman and export generated collections. The tree also includes a starter GitHub Actions workflow and action, but their contents were not provided, so their internal behavior and relationship are not inferred. The workflow links below describe the README’s intended implementation, not a verified end-to-end run.

Main entry points: [`README.md`](https://github.com/postman-cs/cse-case-study-exercise/blob/main/README.md) (Workspace setup), [`specs/claims-processing-api-openapi.yaml`](https://github.com/postman-cs/cse-case-study-exercise/blob/main/specs/claims-processing-api-openapi.yaml) (Claims API spec), [`specs/loan-origination-api-openapi.yaml`](https://github.com/postman-cs/cse-case-study-exercise/blob/main/specs/loan-origination-api-openapi.yaml) (Loan origination spec), [`specs/payment-refund-api-openapi.yaml`](https://github.com/postman-cs/cse-case-study-exercise/blob/main/specs/payment-refund-api-openapi.yaml) (Payment refund spec)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_exercise["Exercise brief"]
  node_brief["Implementation assignment<br/>[README.md]"]
  node_workspace["Workspace setup<br/>[README.md]"]
  node_spec_hub["Spec Hub upload<br/>[README.md]"]
  node_generated["Generated collections<br/>[README.md]"]
  node_environment["Environment configuration<br/>[README.md]"]
  node_exports["Repository exports<br/>[README.md]"]
end

subgraph group_inputs["Service specifications"]
  node_claims["Claims API spec"]
  node_loan["Loan origination spec"]
  node_payment["Payment refund spec"]
end

subgraph group_starter["Starter assets"]
  node_starter_workflow["Onboard workflow"]
  node_starter_action["Onboard action<br/>[action.yml]"]
end

node_engineer(("Implementer"))
node_postman["Postman API"]

node_engineer -->|"follows"| node_brief
node_engineer -->|"may adapt"| node_starter_workflow
node_engineer -->|"may adapt"| node_starter_action
node_claims -->|"selected input"| node_workspace
node_loan -->|"selected input"| node_workspace
node_payment -->|"selected input"| node_workspace
node_workspace -->|"create workspace"| node_postman
node_postman -->|"upload spec"| node_spec_hub
node_spec_hub -->|"generate collections"| node_generated
node_generated -->|"configure"| node_environment
node_environment -->|"export collections"| node_exports

click node_brief "https://github.com/postman-cs/cse-case-study-exercise/blob/main/README.md"
click node_claims "https://github.com/postman-cs/cse-case-study-exercise/blob/main/specs/claims-processing-api-openapi.yaml"
click node_loan "https://github.com/postman-cs/cse-case-study-exercise/blob/main/specs/loan-origination-api-openapi.yaml"
click node_payment "https://github.com/postman-cs/cse-case-study-exercise/blob/main/specs/payment-refund-api-openapi.yaml"
click node_starter_workflow "https://github.com/postman-cs/cse-case-study-exercise/blob/main/starter-assets/workflows/onboard-service.yml"
click node_starter_action "https://github.com/postman-cs/cse-case-study-exercise/blob/main/starter-assets/actions/onboard-service/action.yml"
click node_workspace "https://github.com/postman-cs/cse-case-study-exercise/blob/main/README.md"
click node_spec_hub "https://github.com/postman-cs/cse-case-study-exercise/blob/main/README.md"
click node_generated "https://github.com/postman-cs/cse-case-study-exercise/blob/main/README.md"
click node_environment "https://github.com/postman-cs/cse-case-study-exercise/blob/main/README.md"
click node_exports "https://github.com/postman-cs/cse-case-study-exercise/blob/main/README.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_brief,node_workspace,node_spec_hub,node_generated,node_environment,node_exports toneBlue
class node_claims,node_loan,node_payment toneAmber
class node_starter_workflow,node_starter_action,node_postman toneMint
class node_engineer toneIndigo
```

## Components

### Exercise brief

- [Implementation assignment](https://github.com/postman-cs/cse-case-study-exercise/blob/main/README.md): `README.md`
- [Workspace setup](https://github.com/postman-cs/cse-case-study-exercise/blob/main/README.md): `README.md`
- [Spec Hub upload](https://github.com/postman-cs/cse-case-study-exercise/blob/main/README.md): `README.md`
- [Generated collections](https://github.com/postman-cs/cse-case-study-exercise/blob/main/README.md): `README.md`
- [Environment configuration](https://github.com/postman-cs/cse-case-study-exercise/blob/main/README.md): `README.md`
- [Repository exports](https://github.com/postman-cs/cse-case-study-exercise/blob/main/README.md): `README.md`

### Service specifications

- [Claims API spec](https://github.com/postman-cs/cse-case-study-exercise/blob/main/specs/claims-processing-api-openapi.yaml): `specs/claims-processing-api-openapi.yaml`
- [Loan origination spec](https://github.com/postman-cs/cse-case-study-exercise/blob/main/specs/loan-origination-api-openapi.yaml): `specs/loan-origination-api-openapi.yaml`
- [Payment refund spec](https://github.com/postman-cs/cse-case-study-exercise/blob/main/specs/payment-refund-api-openapi.yaml): `specs/payment-refund-api-openapi.yaml`

### Starter assets

- [Onboard workflow](https://github.com/postman-cs/cse-case-study-exercise/blob/main/starter-assets/workflows/onboard-service.yml): `starter-assets/workflows/onboard-service.yml`
- [Onboard action](https://github.com/postman-cs/cse-case-study-exercise/blob/main/starter-assets/actions/onboard-service/action.yml): `starter-assets/actions/onboard-service/action.yml`

### Other components

- **Implementer**
- **Postman API**

## Connections

- Implementer → Implementation assignment: follows (evidence: `README.md`)
- Implementer → Onboard workflow: may adapt (evidence: `README.md`)
- Implementer → Onboard action: may adapt (evidence: `README.md`)
- Claims API spec → Workspace setup: selected input (evidence: `README.md`)
- Loan origination spec → Workspace setup: selected input (evidence: `README.md`)
- Payment refund spec → Workspace setup: selected input (evidence: `README.md`)
- Workspace setup → Postman API: create workspace (evidence: `README.md`)
- Postman API → Spec Hub upload: upload spec (evidence: `README.md`)
- Spec Hub upload → Generated collections: generate collections (evidence: `README.md`)
- Generated collections → Environment configuration: configure (evidence: `README.md`)
- Environment configuration → Repository exports: export collections (evidence: `README.md`)
