From ac87e4dc97ad2f563d910f06376883f4ed23be11 Mon Sep 17 00:00:00 2001 From: Raymond Feng Date: Thu, 17 Aug 2017 14:30:42 -0700 Subject: [PATCH] swagger-schema-official: Fix XML Object See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#xmlObject --- types/swagger-schema-official/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/swagger-schema-official/index.d.ts b/types/swagger-schema-official/index.d.ts index f08bba922f..fbdd5b6d8f 100644 --- a/types/swagger-schema-official/index.d.ts +++ b/types/swagger-schema-official/index.d.ts @@ -151,10 +151,10 @@ export interface Schema extends BaseSchema { } export interface XML { - type?: string; + name?: string; namespace?: string; prefix?: string; - attribute?: string; + attribute?: boolean; wrapped?: boolean; }