diff --git a/src/openapi/response/error.yaml b/src/openapi/response/error.yaml index b512f1f..a969acb 100644 --- a/src/openapi/response/error.yaml +++ b/src/openapi/response/error.yaml @@ -26,8 +26,11 @@ components: items: $ref: "#/components/schemas/Location" path: - type: list - items: {} #List[Union[str,int]] + type: array + items: + oneOf: + - type: string + - type: integer extensions: $ref: "#/components/schemas/ErrorExtensions" code: diff --git a/src/openapi/schemas/instruction.yaml b/src/openapi/schemas/instruction.yaml index d792bea..427109e 100644 --- a/src/openapi/schemas/instruction.yaml +++ b/src/openapi/schemas/instruction.yaml @@ -285,7 +285,7 @@ components: type: string enum: [TimelineCoverBehaviorDismiss, TimelineCoverBehaviorNavigate] url: - type: TimelineCoverBehaviorUrl + $ref: "#/components/schemas/TimelineCoverBehaviorUrl" TimelineCoverBehaviorUrl: required: