openapi/

directory
v0.0.0-...-e91515d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2026 License: MIT

README

Description

This folder contains scripts that process OpenAPI spec to produce Object Schemas. These schemas are later will be served via ListObjectMetadata.

Structure

Scripts will be located under scripts/openapi/<PROVIDER_NAME>/metadata/main.go.

OpenAPI files that it loads can be found under providers/<PROVIDER_NAME>/openapi/<FILE_NAME>.yaml|json. The output will be saved under providers/<PROVIDER_NAME>/metadata/schemas.json.

Running instructions

Update OpenAPI file to the latest version, then execute the following command in the project root directory:

go run ./scripts/openapi/intercom/metadata

Check providers/intercom/metadata/schemas.json for any side effects. Please monitor the log output, and if there are any errors, manually review the OpenAPI spec. Based on your review, decide whether the endpoint should be integrated or ignored.

Capability

These scripts offer:

  • Control over which parts of the OpenAPI spec are relevant for processing.
  • Formatting options for display names.
  • Establishing relationship between Resource/Object Name and JSON field name, containing said object.
  • Generating queryParamStats.json, which helps in analyzing the most common query parameters, identifying support for Since querying, and determining which objects use them. Note: These files are ignored by Git and are only used for analysis.

Directories

Path Synopsis
avoma
metadata command
blueshift
metadata command
brevo
metadata command
chilipiper
openapi command
cloudtalk
metadata command
constantcontact
metadata command
customerio
devrev
metadata command
Extracts list endpoint schemas from OpenAPI spec and writes providers/devrev/metadata/schemas.json.
Extracts list endpoint schemas from OpenAPI spec and writes providers/devrev/metadata/schemas.json.
github
metadata command
gong
metadata command
google
calendar command
contacts command
mail command
insightly
metadata command
intercom
metadata command
OpenAPI documentation can be found under this official github repository.
OpenAPI documentation can be found under this official github repository.
iterable
metadata command
justcall
metadata command
keap
endpoints command
metadata command
klaviyo
metadata command
marketo
metadata command
microsoft
metadata command
nutshell
metadata command
pipedrive
metadata command
metadatav2 command
pipeliner
metadata command
salesflare
metadata command
sellsy
metadata command
stripe
endpoints command
metadata command
zendesksupport
metadata command
zoom
metadata command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL