Skip to content

Commit 430ddd2

Browse files
committed
Removes all from the description of the stopPlaces endpoint in the Transmodel API and adds description of requirement that ids must be set.
1 parent a271adb commit 430ddd2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

application/src/main/java/org/opentripplanner/apis/transmodel/TransmodelGraphQLSchema.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ private GraphQLSchema create() {
447447
.field(
448448
GraphQLFieldDefinition.newFieldDefinition()
449449
.name("stopPlaces")
450-
.description("Get all stopPlaces")
450+
.description("Get stopPlaces by ids. The ids argument must be set to a non-null value.")
451451
.withDirective(TransmodelDirectives.TIMING_DATA)
452452
.type(new GraphQLNonNull(new GraphQLList(stopPlaceType)))
453453
.argument(

application/src/main/resources/org/opentripplanner/apis/transmodel/schema.graphql

+1-1
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ type QueryType {
763763
): [PtSituationElement!]! @timingData
764764
"Get a single stopPlace based on its id)"
765765
stopPlace(id: String!): StopPlace @timingData
766-
"Get all stopPlaces"
766+
"Get stopPlaces by ids. The ids argument must be set to a non-null value."
767767
stopPlaces(ids: [String]): [StopPlace]! @timingData
768768
"Get all stop places within the specified bounding box"
769769
stopPlacesByBbox(

0 commit comments

Comments
 (0)