Skip to content

Commit e728dfb

Browse files
authored
DRIVERS-1649 acceptAPIVersion2 -> acceptApiVersion2 (#955)
Update spec and tests to reflect the renamed server parameter.
1 parent 966bf96 commit e728dfb

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

source/versioned-api/tests/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Notes
1212
This directory contains tests for the Versioned API specification. They are
1313
implemented in the `Unified Test Format <../../unified-test-format/unified-test-format.rst>`__,
1414
and require schema version 1.1. Note that to run these tests, the server must be
15-
started with both ``enableTestCommands`` and ``acceptAPIVersion2`` parameters
15+
started with both ``enableTestCommands`` and ``acceptApiVersion2`` parameters
1616
set to true.
1717

1818
Testing with required API version

source/versioned-api/tests/test-commands-deprecation-errors.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"minServerVersion": "4.9",
77
"serverParameters": {
88
"enableTestCommands": true,
9-
"acceptAPIVersion2": true,
9+
"acceptApiVersion2": true,
1010
"requireApiVersion": false
1111
}
1212
}

source/versioned-api/tests/test-commands-deprecation-errors.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ runOnRequirements:
66
- minServerVersion: "4.9"
77
serverParameters:
88
enableTestCommands: true
9-
acceptAPIVersion2: true
9+
acceptApiVersion2: true
1010
requireApiVersion: false
1111

1212
createEntities:

source/versioned-api/versioned-api.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ Versioned API For Drivers
33
=========================
44

55
:Spec Title: Versioned API For Drivers
6-
:Spec Version: 1.0.0
6+
:Spec Version: 1.0.1
77
:Author: Andreas Braun
88
:Advisors: Jeff Yemin, A. Jesse Jiryu Davis, Patrick Freed, Oleg Pudeyev
99
:Status: Accepted
1010
:Type: Standards
1111
:Minimum Server Version: N/A
12-
:Last Modified: 2020-12-01
12+
:Last Modified: 2021-04-10
1313

1414
.. contents::
1515

@@ -286,3 +286,4 @@ versioned API. This is not covered in this specification.
286286

287287
Change Log
288288
==========
289+
* 2021-04-10: Replaced usages of ``acceptAPIVersion2`` with ``acceptApiVersion2``.

0 commit comments

Comments
 (0)