Skip to content

Commit

Permalink
fix: ai plugin manifest must refer to yaml open api specification
Browse files Browse the repository at this point in the history
  • Loading branch information
wonderbird committed Mar 16, 2024
1 parent 6d27905 commit fc1a561
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 fc1a561

Please sign in to comment.