From 40418ba7d5a5292ce7e4dd3cda1c1553bb8bdeed Mon Sep 17 00:00:00 2001 From: Petr Pchelko Date: Tue, 28 Aug 2018 13:33:40 -0700 Subject: [PATCH] Bump expected Parsoid version to 1.7.0 Change-Id: I78e398683e005909dbff87ab05a41ce2f3e0f09b --- test/features/parsoid/transform.js | 2 +- v1/content.yaml | 6 +++--- v1/transform.yaml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test/features/parsoid/transform.js b/test/features/parsoid/transform.js index cec4291c8..f3cb83eed 100644 --- a/test/features/parsoid/transform.js +++ b/test/features/parsoid/transform.js @@ -506,7 +506,7 @@ describe('storage-backed transform api', () => { headers: { 'content-type': 'application/json' }, body: { headers: { - 'content-type': 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/1.6.0"' + 'content-type': 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/1.7.0"' }, body: 'The modified HTML' } diff --git a/v1/content.yaml b/v1/content.yaml index 833fd6339..dfa63cd56 100644 --- a/v1/content.yaml +++ b/v1/content.yaml @@ -162,7 +162,7 @@ paths: required: false type: string produces: - - text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/1.6.0" + - text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/1.7.0" - application/json - application/problem+json responses: @@ -420,7 +420,7 @@ paths: Stability: [stable](https://www.mediawiki.org/wiki/API_versioning#Stable) operationId: getFormatRevision produces: - - text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/1.6.0" + - text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/1.7.0" - application/json - application/problem+json parameters: @@ -557,7 +557,7 @@ paths: Stability: [Stable](https://www.mediawiki.org/wiki/API_versioning#Stable) produces: - - application/json; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/data-parsoid/1.6.0" + - application/json; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/data-parsoid/1.7.0" - application/problem+json parameters: - name: title diff --git a/v1/transform.yaml b/v1/transform.yaml index 2d28ee438..5b1862da9 100644 --- a/v1/transform.yaml +++ b/v1/transform.yaml @@ -125,7 +125,7 @@ paths: consumes: - multipart/form-data produces: - - text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/1.6.0" + - text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/1.7.0" - application/problem+json parameters: - name: title @@ -296,7 +296,7 @@ paths: # consumes: # - multipart/form-data # produces: -# - text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/1.6.0" +# - text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/1.7.0" # - application/problem+json # parameters: # - name: title