diff --git a/dist/schemas/content.yaml b/dist/schemas/content.yaml index f2d3622..9a90be4 100644 --- a/dist/schemas/content.yaml +++ b/dist/schemas/content.yaml @@ -166,6 +166,8 @@ components: type: string userDisplayType: type: string + user_results: + $ref: ./user.yaml#/components/schemas/UserResults required: - __typename - itemType diff --git a/dist/schemas/user.yaml b/dist/schemas/user.yaml index 2b50a11..fccfd97 100644 --- a/dist/schemas/user.yaml +++ b/dist/schemas/user.yaml @@ -197,16 +197,9 @@ components: UserResults: properties: result: - $ref: '#/components/schemas/UserUnion' + $ref: '#/components/schemas/User' required: - result - UserUnion: - discriminator: - mapping": - User: '#/components/schemas/User' - propertyName: __typename - oneOf: - - $ref: '#/components/schemas/User' info: title: Twitter OpenAPI version: 0.0.1