Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]
### Fixed
- [jsonschema] Fix PickleTable.argumentIndex docs ([#488](https://github.com/cucumber/messages/pull/488))

## [34.1.0] - 2026-07-15
### Added
Expand Down
2 changes: 1 addition & 1 deletion dart/lib/src/generated/pickle_table.g.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ part of 'messages.dart';

/// Generated Dart representation of the [PickleTable message](https://github.com/cucumber/messages/blob/main/jsonschema/src/PickleTable.schema.json) in Cucumber's [message protocol](https://github.com/cucumber/messages).
class PickleTable {
/// The index of this argument. The value is 0 if it was declared before the doc string, 1 if it was declared after.
/// The index of this argument. The value is 1 if it was declared before the doc string, 2 if it was declared after.
final int? argumentIndex;
/// The `rows` property.
final List<PickleTableRow> rows;
Expand Down
2 changes: 1 addition & 1 deletion dotnet/Cucumber.Messages/generated/PickleTable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespace Io.Cucumber.Messages.Types;
public sealed class PickleTable
{
/**
* The index of this argument. The value is 0 if it was declared before the doc string, 1 if it was declared after.
* The index of this argument. The value is 1 if it was declared before the doc string, 2 if it was declared after.
*/
public Nullable<long> ArgumentIndex { get; private set; }
public List<PickleTableRow> Rows { get; private set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public PickleTable(
}

/**
* The index of this argument. The value is 0 if it was declared before the doc string, 1 if it was declared after.
* The index of this argument. The value is 1 if it was declared before the doc string, 2 if it was declared after.
*/
public Optional<Integer> getArgumentIndex() {
return Optional.ofNullable(argumentIndex);
Expand Down
2 changes: 1 addition & 1 deletion jsonschema/messages.md
Original file line number Diff line number Diff line change
Expand Up @@ -1324,7 +1324,7 @@ Optional arguments. Either a PickleDocString, PickleTable or both
* Type: integer
* Required: no

The index of this argument. The value is 0 if it was declared before the doc string, 1 if it was declared after.
The index of this argument. The value is 1 if it was declared before the doc string, 2 if it was declared after.

#### PickleTable.rows

Expand Down
2 changes: 1 addition & 1 deletion jsonschema/messages.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1072,7 +1072,7 @@
],
"properties": {
"argumentIndex": {
"description": "The index of this argument. The value is 0 if it was declared before the doc string, 1 if it was declared after.",
"description": "The index of this argument. The value is 1 if it was declared before the doc string, 2 if it was declared after.",
"type": "integer",
"minimum": 1,
"maximum": 2
Expand Down
2 changes: 1 addition & 1 deletion jsonschema/src/Pickle.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
],
"properties": {
"argumentIndex":{
"description": "The index of this argument. The value is 0 if it was declared before the doc string, 1 if it was declared after.",
"description": "The index of this argument. The value is 1 if it was declared before the doc string, 2 if it was declared after.",
"type": "integer",
"minimum": 1,
"maximum": 2
Expand Down
2 changes: 1 addition & 1 deletion perl/lib/Cucumber/Messages.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3238,7 +3238,7 @@ sub _types {

=head4 argument_index

The index of this argument. The value is 0 if it was declared before the doc string, 1 if it was declared after.
The index of this argument. The value is 1 if it was declared before the doc string, 2 if it was declared after.
=cut

has argument_index =>
Expand Down
2 changes: 1 addition & 1 deletion php/src-generated/PickleTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ final class PickleTable implements JsonSerializable
public function __construct(

/**
* The index of this argument. The value is 0 if it was declared before the doc string, 1 if it was declared after.
* The index of this argument. The value is 1 if it was declared before the doc string, 2 if it was declared after.
*/
public readonly ?int $argumentIndex = null,
public readonly array $rows = [],
Expand Down
2 changes: 1 addition & 1 deletion python/src/cucumber_messages/_messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ class PickleStepArgument:
@dataclass
class PickleTable:
rows: list[PickleTableRow]
argument_index: Optional[int] = None # The index of this argument. The value is 0 if it was declared before the doc string, 1 if it was declared after.
argument_index: Optional[int] = None # The index of this argument. The value is 1 if it was declared before the doc string, 2 if it was declared after.


@dataclass
Expand Down
2 changes: 1 addition & 1 deletion ruby/lib/cucumber/messages/pickle_table.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module Messages
##
class PickleTable < Message
##
# The index of this argument. The value is 0 if it was declared before the doc string, 1 if it was declared after.
# The index of this argument. The value is 1 if it was declared before the doc string, 2 if it was declared after.
##
attr_reader :argument_index

Expand Down
Loading