Skip to content

Instantly share code, notes, and snippets.

View tedepstein's full-sized avatar

Ted Epstein tedepstein

View GitHub Profile
# this is an example of the Beamup API
# as a demonstration of an API spec in YAML
openapi: "3.0.0"
info:
title: BeamUp API
description: |
Move your app forward with the **BeamUp API**
## About the Beamup API
@tedepstein
tedepstein / Accountants.rapid
Created July 3, 2018 17:45
RAPID-ML Imports
import TaxBlaster.TaxBlasterDataModel from "TaxBlaster.rapid"
import TaxBlaster.TaxBlasterInterface from "TaxBlaster.rapid"
/* This is a RAPID Model template. Customize it to describe your services and data types. */
rapidModel Accountants
resourceAPI AccountantsAPI baseURI "http://my-namespace.com"
collectionResource Accountants type Accountant
URI /accountants
mediaTypes
---
openapi: "3.0.0"
info:
version: "1.0.0"
title: BeamUp API
# This is a component file, used by the BeamUp API specification.
# The paths property is required, so we use curly braces to denote an empty object,
# meaning there are no path items defined in this file.
paths: {}
@tedepstein
tedepstein / schemas.yaml
Created September 21, 2017 20:27
Uber Schema Test
---
swagger: "2.0"
info:
version: 1.0.0
title: Uber Schema Definitions
# This is a component file, used by the Uber API specification.
# The paths property is required, so we use curly braces to denote an empty object,
# meaning there are no path items defined in this file.
paths: {}
@tedepstein
tedepstein / quote.yaml
Created September 21, 2017 20:23
Quotation data type test
Quotations:
title: Quotations
description: quotations
type: object
properties:
_meta:
type: object
description: meta data
properties:
index:
@tedepstein
tedepstein / TaxBlaster.zen
Last active August 29, 2015 14:09
TaxBlasterModel
namespace com.modelsolv.test
/* This is a Zen Model template. Customize it to describe your services and data types. */
zenModel SharedDataTypes {
dataModel SharedDataModel {
structure Transaction {
id : string
amount : decimal
currency : string
}