Skip to content

Commit f960d68

Browse files
authored
Remove deprecated import values from tests, docs (#1291)
We *long* ago deprecated and renamed some fields in versions and from the versions import code, but still had some lingering references in the docs, tests, and seed data. This removes them from those places (they are still supported but deprecated in the import code). Ultimately, I don't think we've *used* these (except in the seed data) for years, so I'd also like to stop supporting them as deprecated in the importer, but that's needs to be a separate, later step.
1 parent 58ba183 commit f960d68

File tree

5 files changed

+2505
-2505
lines changed

5 files changed

+2505
-2505
lines changed

app/assets/data/swagger.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1187,7 +1187,7 @@ paths:
11871187
default: true
11881188
required: false
11891189
description: >-
1190-
If set to false, the importer will not create new page records. If the POSTed data contains a version with a `page_url` field that doesn’t match an known page, the version will be skipped and not imported at all.
1190+
If set to false, the importer will not create new page records. If the POSTed data contains a version with a `url` field that doesn’t match an known page, the version will be skipped and not imported at all.
11911191
- name: skip_unchanged_versions
11921192
in: query
11931193
description: >-
@@ -2147,7 +2147,7 @@ definitions:
21472147
ImportableVersion:
21482148
type: object
21492149
properties:
2150-
page_url:
2150+
url:
21512151
type: string
21522152
format: uri
21532153
description: The original URL the version was captured from.

0 commit comments

Comments
 (0)