Skip to content

Commit

Permalink
Update OpenAPI schema
Browse files Browse the repository at this point in the history
  • Loading branch information
divergentdave committed Jul 19, 2024
1 parent 42a1574 commit a8b9829
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion documentation/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ info:
license:
name: MPL-2.0
url: https://www.mozilla.org/en-US/MPL/2.0/
version: "0.1"
version: "0.4"
externalDocs:
description: The Divvi Up API repository
url: https://github.com/divviup/divviup-api
Expand Down Expand Up @@ -805,6 +805,25 @@ components:
type: string
chunk_length:
type: number
dp_strategy:
type: object
properties:
dp_strategy:
type: string
enum: [NoDifferentialPrivacy, PureDpDiscreteLaplace]
budget:
type: object
properties:
epsilon:
type: array
minItems: 2
maxItems: 2
items:
type: array
items:
type: number
minimum: 0
maximum: 4294967295
required: [type]
ApiToken:
type: object
Expand Down

0 comments on commit a8b9829

Please sign in to comment.