From 9fbc178721b0891e98112626373f92a47552c6bb Mon Sep 17 00:00:00 2001 From: Tom Simmons Date: Wed, 4 Dec 2024 16:49:54 -0500 Subject: [PATCH] Add environments to schema --- swagger/openapi.dev.json | 13 +++++++++++++ swagger/openapi.json | 13 +++++++++++++ swagger/system_profile.spec.yaml | 9 +++++++++ 3 files changed, 35 insertions(+) diff --git a/swagger/openapi.dev.json b/swagger/openapi.dev.json index 175c23afad..08962c8168 100644 --- a/swagger/openapi.dev.json +++ b/swagger/openapi.dev.json @@ -3808,6 +3808,19 @@ "example": "8.1, 7.5, 9.9", "type": "string", "maxLength": 255 + }, + "environments": { + "description": "UUIDs of environments (\"content templates\") the system is subscribed to.", + "example": [ + "262e621d10ae4475ab5732b39a9160b2" + ], + "type": "array", + "items": { + "description": "An environment UUID.", + "type": "string", + "example": "262e621d10ae4475ab5732b39a9160b2, 01fd642e02de4e6da2da6172081a971e", + "pattern": "[0-9a-f]{32}" + } } } }, diff --git a/swagger/openapi.json b/swagger/openapi.json index ff108b7444..2ba24b445d 100644 --- a/swagger/openapi.json +++ b/swagger/openapi.json @@ -3675,6 +3675,19 @@ "example": "8.1, 7.5, 9.9", "type": "string", "maxLength": 255 + }, + "environments": { + "description": "UUIDs of environments (\"content templates\") the system is subscribed to.", + "example": [ + "262e621d10ae4475ab5732b39a9160b2" + ], + "type": "array", + "items": { + "description": "An environment UUID.", + "type": "string", + "example": "262e621d10ae4475ab5732b39a9160b2, 01fd642e02de4e6da2da6172081a971e", + "pattern": "[0-9a-f]{32}" + } } } }, diff --git a/swagger/system_profile.spec.yaml b/swagger/system_profile.spec.yaml index 563632a66d..3bfa459aa2 100644 --- a/swagger/system_profile.spec.yaml +++ b/swagger/system_profile.spec.yaml @@ -592,6 +592,15 @@ $defs: example: "8.1, 7.5, 9.9" type: string maxLength: 255 + environments: + description: UUIDs of environments ("content templates") the system is subscribed to. + example: ["262e621d10ae4475ab5732b39a9160b2"] + type: array + items: + description: An environment UUID. + type: string + example: "262e621d10ae4475ab5732b39a9160b2, 01fd642e02de4e6da2da6172081a971e" + pattern: '[0-9a-f]{32}' system_purpose: description: Object for system purpose information type: object