Skip to content
This repository was archived by the owner on Jun 5, 2026. It is now read-only.

LeavePulse/leavepulse-public-api-contract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leavepulse-public-api-contract

Code-first public API contract package for LeavePulse.

This package is the single source of truth for the developer-facing API:

  • public operation registry
  • canonical OpenAPI document
  • developer docs manifest and HTML shell
  • generated SDK clients for TypeScript, Python, and Java

Main entrypoints:

  • src/leavepulse_public_api_contract/public_api.py: public route registry
  • src/leavepulse_public_api_contract/openapi.py: OpenAPI generator
  • src/leavepulse_public_api_contract/docs.py: docs manifest and docs HTML
  • src/leavepulse_public_api_contract/sdk_generation.py: SDK generators

When adding a new public endpoint:

  1. register it in public_api.py
  2. make sure the runtime route exists in server-service
  3. run python /mnt/Programing/Projects/LeavePulse/sdk/scripts/generate_public_api_assets.py
  4. run the package and SDK tests

Canonical public base URL:

https://api.leavepulse.com/v1

About

No description or website provided.

Topics

Resources

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages