Skip to content

Commit

Permalink
Replace heroku domain
Browse files Browse the repository at this point in the history
  • Loading branch information
AlphaHydrae committed Sep 28, 2023
1 parent a159047 commit 0db99e6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion apidoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.1.0",
"description": "A demonstration REST API developed with Express",
"title": "Express REST Demo",
"url": "https://comem-rest-demo.herokuapp.com",
"url": "https://demo.archioweb.ch",
"header": {
"filename": "APIDOC.md"
}
Expand Down
4 changes: 2 additions & 2 deletions openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ info:
url: https://github.com/MediaComem/comem-rest-demo

servers:
- url: https://comem-rest-demo.herokuapp.com/api
- url: https://demo.archioweb.ch/api

paths:
/people:
Expand Down Expand Up @@ -55,7 +55,7 @@ components:
schema:
type: string
example: >-
<https://comem-rest-demo.herokuapp.com/api/people?page=1&pageSize=50>; rel="first prev"
<https://demo.archioweb.ch/api/people?page=1&pageSize=50>; rel="first prev"
parameters:
page:
name: page
Expand Down
4 changes: 2 additions & 2 deletions routes/movies.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const router = express.Router();
* @apiSuccessExample 201 Created
* HTTP/1.1 201 Created
* Content-Type: application/json
* Location: https://comem-rest-demo.herokuapp.com/api/movies/58b2926f5e1def0123e97281
* Location: https://demo.archioweb.ch/api/movies/58b2926f5e1def0123e97281
*
* {
* "id": "58b2926f5e1def0123e97281",
Expand Down Expand Up @@ -99,7 +99,7 @@ router.post('/', utils.requireJson, function (req, res, next) {
* @apiSuccessExample 200 OK
* HTTP/1.1 200 OK
* Content-Type: application/json
* Link: &lt;https://comem-rest-demo.herokuapp.com/api/movies?page=1&pageSize=50&gt;; rel="first prev"
* Link: &lt;https://demo.archioweb.ch/api/movies?page=1&pageSize=50&gt;; rel="first prev"
*
* [
* {
Expand Down
4 changes: 2 additions & 2 deletions routes/people.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const router = express.Router();
* @apiSuccessExample 201 Created
* HTTP/1.1 201 Created
* Content-Type: application/json
* Location: https://comem-rest-demo.herokuapp.com/api/people/58b2926f5e1def0123e97bc0
* Location: https://demo.archioweb.ch/api/people/58b2926f5e1def0123e97bc0
*
* {
* "id": "58b2926f5e1def0123e97bc0",
Expand Down Expand Up @@ -81,7 +81,7 @@ router.post('/', utils.requireJson, function (req, res, next) {
* @apiSuccessExample 200 OK
* HTTP/1.1 200 OK
* Content-Type: application/json
* Link: &lt;https://comem-rest-demo.herokuapp.com/api/people?page=1&pageSize=50&gt;; rel="first prev"
* Link: &lt;https://demo.archioweb.ch/api/people?page=1&pageSize=50&gt;; rel="first prev"
*
* [
* {
Expand Down

0 comments on commit 0db99e6

Please sign in to comment.