Skip to content

Commit

Permalink
Merge pull request #5926 from leonardehrenfried/update-magidoc
Browse files Browse the repository at this point in the history
Update magidoc
  • Loading branch information
leonardehrenfried authored Jun 25, 2024
2 parents e29e9cc + 9b4dede commit 827684a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/cibuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,13 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: Build GTFS GraphQL API documentation
run: |
npm install -g @magidoc/[email protected]
magidoc generate
npm install -g @magidoc/[email protected]
cat src/main/resources/org/opentripplanner/apis/gtfs/schema.graphqls
magidoc generate --stacktrace
- name: Deploy compiled HTML to Github pages
if: github.event_name == 'push' && (github.ref == 'refs/heads/dev-2.x' || github.ref == 'refs/heads/master')
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/performance-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:

- name: Archive Flight Recorder instrumentation file
if: matrix.profile == 'core' || github.ref == 'refs/heads/dev-2.x'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.location }}-flight-recorder
path: ${{ matrix.location}}-speed-test.jfr
10 changes: 9 additions & 1 deletion magidoc.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,15 @@ To learn how to deactivate it, read the
queryGenerationFactories: {
'Polyline': '<>',
'GeoJson': '<>',
'OffsetDateTime': '2024-02-05T18:04:23+01:00'
'OffsetDateTime': '2024-02-05T18:04:23+01:00',
'Duration': 'PT10M',
'CoordinateValue': 19.24,
'Reluctance': 3.1,
'Speed': 3.4,
'Cost': 100,
'Ratio': 0.25,
'Locale': 'en'

},
}
},
Expand Down

0 comments on commit 827684a

Please sign in to comment.