-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
117 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
src/main/resources/swagger.api/schemas/FqmMigrateRequest.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"title": "Entity Upgrade Request", | ||
"description": "Schema for a request to upgrade an entity payload, including an entity type ID, FQL query, and list of fields.", | ||
"type": "object", | ||
"properties": { | ||
"entityTypeId": { | ||
"description": "ID of the entity type to be upgraded", | ||
"type": "string", | ||
"format": "UUID" | ||
}, | ||
"fqlQuery": { | ||
"description": "FQL query string to be used for the upgrade", | ||
"type": "string" | ||
}, | ||
"fields": { | ||
"description": "List of fields to be included in the upgrade", | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"required": [ | ||
"entityTypeId" | ||
] | ||
} |
34 changes: 34 additions & 0 deletions
34
src/main/resources/swagger.api/schemas/FqmMigrateResponse.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"title": "Entity Upgrade Response", | ||
"description": "Schema for a response to upgrade FQM", | ||
"type": "object", | ||
"properties": { | ||
"entityTypeId": { | ||
"description": "ID of the entity type upgraded successfully", | ||
"type": "string", | ||
"format": "UUID" | ||
}, | ||
"fqlQuery": { | ||
"description": "FQL query string upgraded successfully", | ||
"type": "string" | ||
}, | ||
"fields": { | ||
"description": "List of fields upgraded successfully", | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
"warnings": { | ||
"description": "List of warnings issued during the upgrade", | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"required": [ | ||
"entityTypeId" | ||
] | ||
} |