Skip to content

Commit

Permalink
Updated to remove silly endpoints
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Nickson <[email protected]>
  • Loading branch information
Computroniks committed Oct 29, 2023
1 parent 820ccb6 commit f01e33b
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 36 deletions.
4 changes: 0 additions & 4 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,12 @@ tags:
description: API documentation endpoints

paths:
/docs:
$ref: paths/docs/index.yaml
/messaging/contact:
$ref: paths/messaging/contact.yaml

/stats/views:
$ref: paths/stats/views.yaml

/openapi.json:
$ref: paths/openapi.json.yaml
/terms:
$ref: paths/terms.yaml

16 changes: 0 additions & 16 deletions paths/docs/index.yaml

This file was deleted.

1 change: 1 addition & 0 deletions paths/messaging/contact.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

post:
description: Send a message to Sidings Media
summary: Send contact form message
tags:
- messaging
requestBody:
Expand Down
16 changes: 0 additions & 16 deletions paths/openapi.json.yaml

This file was deleted.

1 change: 1 addition & 0 deletions paths/stats/views.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

post:
description: Log a view for a given page
summary: Log view for page
tags:
- stats
requestBody:
Expand Down
1 change: 1 addition & 0 deletions paths/terms.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

get:
description: API terms of use
summary: Get API terms of use
tags:
- docs
responses:
Expand Down

0 comments on commit f01e33b

Please sign in to comment.