diff --git a/openapi-internal.yaml b/openapi-internal.yaml index 34d861c..0d7f2c5 100644 --- a/openapi-internal.yaml +++ b/openapi-internal.yaml @@ -304,7 +304,8 @@ components: - Name - Hash - Source - - SubmissionID + - ResourceType + - ResourceID type: object properties: ID: @@ -320,14 +321,18 @@ components: Source: type: string maxLength: 1048576 - SubmissionID: + ResourceType: + type: integer + format: int32 + ResourceID: type: integer format: int64 ScriptCreate: required: - Name - Source -# - SubmissionID + - ResourceType +# - ResourceID type: object properties: Name: @@ -336,7 +341,10 @@ components: Source: type: string maxLength: 1048576 - SubmissionID: + ResourceType: + type: integer + format: int32 + ResourceID: type: integer format: int64 ScriptPolicy: diff --git a/openapi.yaml b/openapi.yaml index b17a186..57b3dac 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -822,7 +822,8 @@ components: - Name - Hash - Source - - SubmissionID + - ResourceType + - ResourceID type: object properties: ID: @@ -838,14 +839,18 @@ components: Source: type: string maxLength: 1048576 - SubmissionID: + ResourceType: + type: integer + format: int32 + ResourceID: type: integer format: int64 ScriptCreate: required: - Name - Source -# - SubmissionID + - ResourceType +# - ResourceID type: object properties: Name: @@ -854,7 +859,10 @@ components: Source: type: string maxLength: 1048576 - SubmissionID: + ResourceType: + type: integer + format: int32 + ResourceID: type: integer format: int64 ScriptUpdate: @@ -871,7 +879,10 @@ components: Source: type: string maxLength: 1048576 - SubmissionID: + ResourceType: + type: integer + format: int32 + ResourceID: type: integer format: int64 ScriptPolicy: