Skip to content

codeforamerica/safety-net-openapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Safety Net OpenAPI Toolkit

This toolkit helps teams build consistent, well-documented APIs for safety net programs—enabling faster integration between benefits systems and reducing the technical barriers to improving service delivery.

About This Repository

This is an evolving repository where Code for America stores integrated benefits API specifications for the different states we work with. The specifications are built on a common data model that captures the core concepts shared across safety net programs—applications, households, income, eligibility—while allowing for state-specific variations in terminology, program names, and data requirements.

Getting Started

Choose your path based on your role:

Role You want to... Start here
Backend Developer Design APIs, validate specs, test backend implementations Backend Developer Guide
Frontend Developer Build UIs against the APIs, use generated clients Frontend Developer Guide

Quick Start

npm install

# Set your state
export STATE=california

# Start mock server + Swagger UI
npm start

Visit http://localhost:3000 for interactive API docs.

Commands

Command Description
npm start Start mock server + Swagger UI
npm run validate Validate base specs
npm run validate:state Validate specs for current STATE
npm run validate:all-states Validate all states
npm run clients:generate Generate TypeScript clients
npm run postman:generate Generate Postman collection
npm run mock:reset Reset database to example data
npm test Run unit tests

Full command reference →

Documentation

Guides

Integration

Reference

Architecture Decisions

Requirements

Node.js >= 18.0.0

License

PolyForm Noncommercial License 1.0.0

About

OpenAPI Specifications for Safety Net Applications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 2

  •  
  •