mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-05 17:53:12 +02:00
fix: add new schemas to the snapshot
This commit is contained in:
parent
7623964506
commit
aa6708f7e8
@ -615,6 +615,73 @@ Object {
|
||||
],
|
||||
"type": "object",
|
||||
},
|
||||
"eventSchema": Object {
|
||||
"additionalProperties": false,
|
||||
"properties": Object {
|
||||
"createdAt": Object {
|
||||
"format": "date-time",
|
||||
"type": "string",
|
||||
},
|
||||
"createdBy": Object {
|
||||
"type": "string",
|
||||
},
|
||||
"data": Object {},
|
||||
"environment": Object {
|
||||
"nullable": true,
|
||||
"type": "string",
|
||||
},
|
||||
"featureName": Object {
|
||||
"nullable": true,
|
||||
"type": "string",
|
||||
},
|
||||
"id": Object {
|
||||
"minimum": 1,
|
||||
"type": "integer",
|
||||
},
|
||||
"preData": Object {},
|
||||
"project": Object {
|
||||
"nullable": true,
|
||||
"type": "string",
|
||||
},
|
||||
"tags": Object {
|
||||
"items": Object {
|
||||
"$ref": "#/components/schemas/tagSchema",
|
||||
},
|
||||
"nullable": true,
|
||||
"type": "array",
|
||||
},
|
||||
"type": Object {
|
||||
"type": "string",
|
||||
},
|
||||
},
|
||||
"required": Array [
|
||||
"id",
|
||||
"createdAt",
|
||||
"type",
|
||||
"createdBy",
|
||||
],
|
||||
"type": "object",
|
||||
},
|
||||
"eventsSchema": Object {
|
||||
"additionalProperties": false,
|
||||
"properties": Object {
|
||||
"events": Object {
|
||||
"items": Object {
|
||||
"$ref": "#/components/schemas/eventSchema",
|
||||
},
|
||||
"type": "array",
|
||||
},
|
||||
"version": Object {
|
||||
"minimum": 1,
|
||||
"type": "integer",
|
||||
},
|
||||
},
|
||||
"required": Array [
|
||||
"version",
|
||||
"events",
|
||||
],
|
||||
"type": "object",
|
||||
},
|
||||
"exportParametersSchema": Object {
|
||||
"properties": Object {
|
||||
"download": Object {
|
||||
@ -743,6 +810,25 @@ Object {
|
||||
],
|
||||
"type": "object",
|
||||
},
|
||||
"featureEventsSchema": Object {
|
||||
"additionalProperties": false,
|
||||
"properties": Object {
|
||||
"events": Object {
|
||||
"items": Object {
|
||||
"$ref": "#/components/schemas/eventSchema",
|
||||
},
|
||||
"type": "array",
|
||||
},
|
||||
"toggleName": Object {
|
||||
"type": "string",
|
||||
},
|
||||
},
|
||||
"required": Array [
|
||||
"toggleName",
|
||||
"events",
|
||||
],
|
||||
"type": "object",
|
||||
},
|
||||
"featureMetricsSchema": Object {
|
||||
"additionalProperties": false,
|
||||
"properties": Object {
|
||||
@ -2873,6 +2959,56 @@ Object {
|
||||
],
|
||||
},
|
||||
},
|
||||
"/api/admin/events": Object {
|
||||
"get": Object {
|
||||
"operationId": "getEvents",
|
||||
"responses": Object {
|
||||
"200": Object {
|
||||
"content": Object {
|
||||
"application/json": Object {
|
||||
"schema": Object {
|
||||
"$ref": "#/components/schemas/eventsSchema",
|
||||
},
|
||||
},
|
||||
},
|
||||
"description": "eventsSchema",
|
||||
},
|
||||
},
|
||||
"tags": Array [
|
||||
"admin",
|
||||
],
|
||||
},
|
||||
},
|
||||
"/api/admin/events/{name}": Object {
|
||||
"get": Object {
|
||||
"operationId": "getEventsForToggle",
|
||||
"parameters": Array [
|
||||
Object {
|
||||
"in": "path",
|
||||
"name": "name",
|
||||
"required": true,
|
||||
"schema": Object {
|
||||
"type": "string",
|
||||
},
|
||||
},
|
||||
],
|
||||
"responses": Object {
|
||||
"200": Object {
|
||||
"content": Object {
|
||||
"application/json": Object {
|
||||
"schema": Object {
|
||||
"$ref": "#/components/schemas/featureEventsSchema",
|
||||
},
|
||||
},
|
||||
},
|
||||
"description": "featureEventsSchema",
|
||||
},
|
||||
},
|
||||
"tags": Array [
|
||||
"admin",
|
||||
],
|
||||
},
|
||||
},
|
||||
"/api/admin/feature-types": Object {
|
||||
"get": Object {
|
||||
"operationId": "getAllFeatureTypes",
|
||||
|
Loading…
Reference in New Issue
Block a user