From a05b1f5105d1c2c23e9dcc21ad9b473008644033 Mon Sep 17 00:00:00 2001 From: github-openapi-bot <69533958+github-openapi-bot@users.noreply.github.com> Date: Thu, 1 Dec 2022 00:07:14 -0800 Subject: [PATCH 1/2] Update OpenAPI Descriptions (#33115) Co-authored-by: github-openapi-bot --- .../decorated/api.github.com.2022-11-28.json | 108 +++++++-- .../static/decorated/ghec.2022-11-28.json | 108 +++++++-- .../api.github.com.2022-11-28.deref.json | 206 ++++++++++++++---- .../dereferenced/api.github.com.deref.json | 206 ++++++++++++++---- .../dereferenced/ghec.2022-11-28.deref.json | 206 ++++++++++++++---- lib/rest/static/dereferenced/ghec.deref.json | 206 ++++++++++++++---- .../static/decorated/api.github.com.json | 35 ++- lib/webhooks/static/decorated/ghec.json | 35 ++- lib/webhooks/static/decorated/ghes-3.7.json | 35 ++- lib/webhooks/static/decorated/github.ae.json | 35 ++- 10 files changed, 960 insertions(+), 220 deletions(-) diff --git a/lib/rest/static/decorated/api.github.com.2022-11-28.json b/lib/rest/static/decorated/api.github.com.2022-11-28.json index dbb0455e905a..70fcfe0d3f65 100644 --- a/lib/rest/static/decorated/api.github.com.2022-11-28.json +++ b/lib/rest/static/decorated/api.github.com.2022-11-28.json @@ -104306,7 +104306,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 699, "yearly_price_in_cents": 7870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "state": "published", "unit_name": null, @@ -104332,7 +104332,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -104447,8 +104447,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -104588,8 +104593,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -104718,7 +104728,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -104787,8 +104797,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -104956,7 +104971,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 699, "yearly_price_in_cents": 7870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "state": "published", "unit_name": null, @@ -104982,7 +104997,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -105100,8 +105115,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -105241,8 +105261,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -105380,7 +105405,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 699, "yearly_price_in_cents": 7870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "state": "published", "unit_name": null, @@ -105406,7 +105431,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -105521,8 +105546,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -105662,8 +105692,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -105792,7 +105827,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -105861,8 +105896,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -106026,7 +106066,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 699, "yearly_price_in_cents": 7870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "state": "published", "unit_name": null, @@ -106052,7 +106092,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -106170,8 +106210,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -106311,8 +106356,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -106454,7 +106504,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -106619,8 +106669,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -106771,7 +106826,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -106936,8 +106991,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { diff --git a/lib/rest/static/decorated/ghec.2022-11-28.json b/lib/rest/static/decorated/ghec.2022-11-28.json index 574c44160048..68ad97a5c1e9 100644 --- a/lib/rest/static/decorated/ghec.2022-11-28.json +++ b/lib/rest/static/decorated/ghec.2022-11-28.json @@ -104427,7 +104427,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 699, "yearly_price_in_cents": 7870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "state": "published", "unit_name": null, @@ -104453,7 +104453,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -104568,8 +104568,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -104709,8 +104714,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -104839,7 +104849,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -104908,8 +104918,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -105077,7 +105092,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 699, "yearly_price_in_cents": 7870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "state": "published", "unit_name": null, @@ -105103,7 +105118,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -105221,8 +105236,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -105362,8 +105382,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -105501,7 +105526,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 699, "yearly_price_in_cents": 7870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "state": "published", "unit_name": null, @@ -105527,7 +105552,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -105642,8 +105667,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -105783,8 +105813,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -105913,7 +105948,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -105982,8 +106017,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -106147,7 +106187,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 699, "yearly_price_in_cents": 7870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "state": "published", "unit_name": null, @@ -106173,7 +106213,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -106291,8 +106331,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -106432,8 +106477,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -106575,7 +106625,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -106740,8 +106790,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -106892,7 +106947,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -107057,8 +107112,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { diff --git a/lib/rest/static/dereferenced/api.github.com.2022-11-28.deref.json b/lib/rest/static/dereferenced/api.github.com.2022-11-28.deref.json index d12aaf197845..032fa24d8df5 100644 --- a/lib/rest/static/dereferenced/api.github.com.2022-11-28.deref.json +++ b/lib/rest/static/dereferenced/api.github.com.2022-11-28.deref.json @@ -48858,8 +48858,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -48999,8 +49004,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -49081,7 +49091,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 699, "yearly_price_in_cents": 7870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "state": "published", "unit_name": null, @@ -49107,7 +49117,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -49280,8 +49290,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -49342,7 +49357,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -49605,8 +49620,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -49746,8 +49766,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -49829,7 +49854,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 699, "yearly_price_in_cents": 7870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "state": "published", "unit_name": null, @@ -49855,7 +49880,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -50148,8 +50173,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -50289,8 +50319,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -50371,7 +50406,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 699, "yearly_price_in_cents": 7870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "state": "published", "unit_name": null, @@ -50397,7 +50432,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -50547,8 +50582,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -50609,7 +50649,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -50846,8 +50886,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -50987,8 +51032,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -51070,7 +51120,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 699, "yearly_price_in_cents": 7870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "state": "published", "unit_name": null, @@ -51096,7 +51146,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -475870,8 +475920,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -475960,7 +476015,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -476239,8 +476294,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -476329,7 +476389,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -758023,7 +758083,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -758132,7 +758197,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -758330,7 +758400,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -760300,7 +760375,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -760409,7 +760489,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -760611,7 +760696,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -762581,7 +762671,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -762690,7 +762785,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -762889,7 +762989,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -764858,7 +764963,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -765083,7 +765193,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -767053,7 +767168,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -767162,7 +767282,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -767360,7 +767485,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ diff --git a/lib/rest/static/dereferenced/api.github.com.deref.json b/lib/rest/static/dereferenced/api.github.com.deref.json index d12aaf197845..032fa24d8df5 100644 --- a/lib/rest/static/dereferenced/api.github.com.deref.json +++ b/lib/rest/static/dereferenced/api.github.com.deref.json @@ -48858,8 +48858,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -48999,8 +49004,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -49081,7 +49091,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 699, "yearly_price_in_cents": 7870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "state": "published", "unit_name": null, @@ -49107,7 +49117,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -49280,8 +49290,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -49342,7 +49357,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -49605,8 +49620,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -49746,8 +49766,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -49829,7 +49854,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 699, "yearly_price_in_cents": 7870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "state": "published", "unit_name": null, @@ -49855,7 +49880,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -50148,8 +50173,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -50289,8 +50319,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -50371,7 +50406,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 699, "yearly_price_in_cents": 7870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "state": "published", "unit_name": null, @@ -50397,7 +50432,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -50547,8 +50582,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -50609,7 +50649,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -50846,8 +50886,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -50987,8 +51032,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -51070,7 +51120,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 699, "yearly_price_in_cents": 7870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "state": "published", "unit_name": null, @@ -51096,7 +51146,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -475870,8 +475920,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -475960,7 +476015,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -476239,8 +476294,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -476329,7 +476389,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -758023,7 +758083,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -758132,7 +758197,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -758330,7 +758400,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -760300,7 +760375,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -760409,7 +760489,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -760611,7 +760696,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -762581,7 +762671,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -762690,7 +762785,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -762889,7 +762989,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -764858,7 +764963,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -765083,7 +765193,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -767053,7 +767168,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -767162,7 +767282,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -767360,7 +767485,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ diff --git a/lib/rest/static/dereferenced/ghec.2022-11-28.deref.json b/lib/rest/static/dereferenced/ghec.2022-11-28.deref.json index 814158ad45e4..44c6aee8979e 100644 --- a/lib/rest/static/dereferenced/ghec.2022-11-28.deref.json +++ b/lib/rest/static/dereferenced/ghec.2022-11-28.deref.json @@ -49886,8 +49886,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -50027,8 +50032,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -50109,7 +50119,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 699, "yearly_price_in_cents": 7870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "state": "published", "unit_name": null, @@ -50135,7 +50145,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -50308,8 +50318,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -50370,7 +50385,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -50633,8 +50648,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -50774,8 +50794,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -50857,7 +50882,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 699, "yearly_price_in_cents": 7870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "state": "published", "unit_name": null, @@ -50883,7 +50908,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -51176,8 +51201,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -51317,8 +51347,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -51399,7 +51434,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 699, "yearly_price_in_cents": 7870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "state": "published", "unit_name": null, @@ -51425,7 +51460,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -51575,8 +51610,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -51637,7 +51677,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -51874,8 +51914,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -52015,8 +52060,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -52098,7 +52148,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 699, "yearly_price_in_cents": 7870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "state": "published", "unit_name": null, @@ -52124,7 +52174,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -483084,8 +483134,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -483174,7 +483229,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -483453,8 +483508,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -483543,7 +483603,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -765237,7 +765297,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -765346,7 +765411,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -765544,7 +765614,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -767514,7 +767589,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -767623,7 +767703,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -767825,7 +767910,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -769795,7 +769885,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -769904,7 +769999,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -770103,7 +770203,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -772072,7 +772177,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -772297,7 +772407,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -774267,7 +774382,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -774376,7 +774496,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -774574,7 +774699,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ diff --git a/lib/rest/static/dereferenced/ghec.deref.json b/lib/rest/static/dereferenced/ghec.deref.json index 814158ad45e4..44c6aee8979e 100644 --- a/lib/rest/static/dereferenced/ghec.deref.json +++ b/lib/rest/static/dereferenced/ghec.deref.json @@ -49886,8 +49886,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -50027,8 +50032,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -50109,7 +50119,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 699, "yearly_price_in_cents": 7870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "state": "published", "unit_name": null, @@ -50135,7 +50145,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -50308,8 +50318,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -50370,7 +50385,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -50633,8 +50648,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -50774,8 +50794,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -50857,7 +50882,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 699, "yearly_price_in_cents": 7870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "state": "published", "unit_name": null, @@ -50883,7 +50908,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -51176,8 +51201,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -51317,8 +51347,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -51399,7 +51434,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 699, "yearly_price_in_cents": 7870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "state": "published", "unit_name": null, @@ -51425,7 +51460,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -51575,8 +51610,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -51637,7 +51677,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -51874,8 +51914,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -52015,8 +52060,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -52098,7 +52148,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 699, "yearly_price_in_cents": 7870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "state": "published", "unit_name": null, @@ -52124,7 +52174,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -483084,8 +483134,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -483174,7 +483229,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -483453,8 +483508,13 @@ }, "price_model": { "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ], "examples": [ - "flat-rate" + "FLAT_RATE" ] }, "has_free_trial": { @@ -483543,7 +483603,7 @@ "description": "A professional-grade CI solution", "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "has_free_trial": true, "unit_name": null, "state": "published", @@ -765237,7 +765297,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -765346,7 +765411,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -765544,7 +765614,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -767514,7 +767589,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -767623,7 +767703,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -767825,7 +767910,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -769795,7 +769885,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -769904,7 +769999,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -770103,7 +770203,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -772072,7 +772177,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -772297,7 +772407,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -774267,7 +774382,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -774376,7 +774496,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ @@ -774574,7 +774699,12 @@ "type": "string" }, "price_model": { - "type": "string" + "type": "string", + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, "unit_name": { "type": [ diff --git a/lib/webhooks/static/decorated/api.github.com.json b/lib/webhooks/static/decorated/api.github.com.json index e244a895332d..cc647f02c8bc 100644 --- a/lib/webhooks/static/decorated/api.github.com.json +++ b/lib/webhooks/static/decorated/api.github.com.json @@ -53485,7 +53485,12 @@ "type": "string", "name": "price_model", "description": "", - "isRequired": true + "isRequired": true, + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, { "type": "string or null", @@ -53694,7 +53699,12 @@ "type": "string", "name": "price_model", "description": "", - "isRequired": true + "isRequired": true, + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, { "type": "string or null", @@ -53903,7 +53913,12 @@ "type": "string", "name": "price_model", "description": "", - "isRequired": true + "isRequired": true, + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, { "type": "string or null", @@ -54112,7 +54127,12 @@ "type": "string", "name": "price_model", "description": "", - "isRequired": true + "isRequired": true, + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, { "type": "string or null", @@ -54321,7 +54341,12 @@ "type": "string", "name": "price_model", "description": "", - "isRequired": true + "isRequired": true, + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, { "type": "string or null", diff --git a/lib/webhooks/static/decorated/ghec.json b/lib/webhooks/static/decorated/ghec.json index a161a19710b7..772ffba7f633 100644 --- a/lib/webhooks/static/decorated/ghec.json +++ b/lib/webhooks/static/decorated/ghec.json @@ -53485,7 +53485,12 @@ "type": "string", "name": "price_model", "description": "", - "isRequired": true + "isRequired": true, + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, { "type": "string or null", @@ -53694,7 +53699,12 @@ "type": "string", "name": "price_model", "description": "", - "isRequired": true + "isRequired": true, + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, { "type": "string or null", @@ -53903,7 +53913,12 @@ "type": "string", "name": "price_model", "description": "", - "isRequired": true + "isRequired": true, + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, { "type": "string or null", @@ -54112,7 +54127,12 @@ "type": "string", "name": "price_model", "description": "", - "isRequired": true + "isRequired": true, + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, { "type": "string or null", @@ -54321,7 +54341,12 @@ "type": "string", "name": "price_model", "description": "", - "isRequired": true + "isRequired": true, + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, { "type": "string or null", diff --git a/lib/webhooks/static/decorated/ghes-3.7.json b/lib/webhooks/static/decorated/ghes-3.7.json index 73ca289d86fc..a46ec7cc484b 100644 --- a/lib/webhooks/static/decorated/ghes-3.7.json +++ b/lib/webhooks/static/decorated/ghes-3.7.json @@ -53485,7 +53485,12 @@ "type": "string", "name": "price_model", "description": "", - "isRequired": true + "isRequired": true, + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, { "type": "string or null", @@ -53694,7 +53699,12 @@ "type": "string", "name": "price_model", "description": "", - "isRequired": true + "isRequired": true, + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, { "type": "string or null", @@ -53903,7 +53913,12 @@ "type": "string", "name": "price_model", "description": "", - "isRequired": true + "isRequired": true, + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, { "type": "string or null", @@ -54112,7 +54127,12 @@ "type": "string", "name": "price_model", "description": "", - "isRequired": true + "isRequired": true, + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, { "type": "string or null", @@ -54321,7 +54341,12 @@ "type": "string", "name": "price_model", "description": "", - "isRequired": true + "isRequired": true, + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, { "type": "string or null", diff --git a/lib/webhooks/static/decorated/github.ae.json b/lib/webhooks/static/decorated/github.ae.json index d107070ca604..d82430e3523d 100644 --- a/lib/webhooks/static/decorated/github.ae.json +++ b/lib/webhooks/static/decorated/github.ae.json @@ -53485,7 +53485,12 @@ "type": "string", "name": "price_model", "description": "", - "isRequired": true + "isRequired": true, + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, { "type": "string or null", @@ -53694,7 +53699,12 @@ "type": "string", "name": "price_model", "description": "", - "isRequired": true + "isRequired": true, + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, { "type": "string or null", @@ -53903,7 +53913,12 @@ "type": "string", "name": "price_model", "description": "", - "isRequired": true + "isRequired": true, + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, { "type": "string or null", @@ -54112,7 +54127,12 @@ "type": "string", "name": "price_model", "description": "", - "isRequired": true + "isRequired": true, + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, { "type": "string or null", @@ -54321,7 +54341,12 @@ "type": "string", "name": "price_model", "description": "", - "isRequired": true + "isRequired": true, + "enum": [ + "FREE", + "FLAT_RATE", + "PER_UNIT" + ] }, { "type": "string or null", From 9315c7dae9a673a2f8958df7632bf1af206a0bed Mon Sep 17 00:00:00 2001 From: SKi Date: Thu, 1 Dec 2022 01:33:36 -0700 Subject: [PATCH 2/2] Add an example for in-line comment (#33110) --- .../customizing-your-repository/about-code-owners.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners.md b/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners.md index d3212418a86c..1fcf95aa1a43 100644 --- a/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners.md +++ b/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners.md @@ -81,7 +81,7 @@ If any line in your CODEOWNERS file contains invalid syntax, the file will not b # precedence. When someone opens a pull request that only # modifies JS files, only @js-owner and not the global # owner(s) will be requested for a review. -*.js @js-owner +*.js @js-owner #This is an inline comment. # You can also use email addresses if you prefer. They'll be # used to look up users just like we do for commit author