Skip to content

Commit

Permalink
Merge pull request #140 from wonderbird/fix/ai-plugin-uses-openapi-yaml
Browse files Browse the repository at this point in the history
fix: ai plugin manifest must refer to yaml open api specification
  • Loading branch information
wonderbird authored Mar 16, 2024
2 parents 6d27905 + fc1a561 commit 62e544d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/traindelays.http
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ GET http://localhost:8080/v3/api-docs.yaml

### GET next departure from production system
GET https://train-delays-lvnrwcqd7q-ew.a.run.app/nextdeparture

### GET open api specification in YAML format from production system
GET https://train-delays-lvnrwcqd7q-ew.a.run.app/v3/api-docs.yaml
2 changes: 1 addition & 1 deletion src/main/resources/static/.well-known/ai-plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"api": {
"type": "openapi",
"url": "https://train-delays-lvnrwcqd7q-ew.a.run.app/v3/api-docs"
"url": "https://train-delays-lvnrwcqd7q-ew.a.run.app/v3/api-docs.yaml"
},
"logo_url": "https://train-delays-lvnrwcqd7q-ew.a.run.app/logo.png",
"contact_email": "[email protected]",
Expand Down

0 comments on commit 62e544d

Please sign in to comment.