diff --git a/openapi.yaml b/openapi.yaml index f36187c..9c902bf 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -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 \ No newline at end of file diff --git a/paths/docs/index.yaml b/paths/docs/index.yaml deleted file mode 100644 index f8a45c9..0000000 --- a/paths/docs/index.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# SPDX-FileCopyrightText: 2023 Sidings Media -# SPDX-License-Identifier: MIT - -get: - description: Interactive API documentation - tags: - - docs - responses: - '200': - description: HTML documentation page - content: - text/html: - schema: - type: string - 5XX: - $ref: ../../components/responses/ServerError.yaml diff --git a/paths/messaging/contact.yaml b/paths/messaging/contact.yaml index 75f30e6..cd235de 100644 --- a/paths/messaging/contact.yaml +++ b/paths/messaging/contact.yaml @@ -3,6 +3,7 @@ post: description: Send a message to Sidings Media + summary: Send contact form message tags: - messaging requestBody: diff --git a/paths/openapi.json.yaml b/paths/openapi.json.yaml deleted file mode 100644 index 6adfbc2..0000000 --- a/paths/openapi.json.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# SPDX-FileCopyrightText: 2023 Sidings Media -# SPDX-License-Identifier: MIT - -get: - description: This OpenAPI specification - tags: - - docs - responses: - '200': - description: OpenAPI 3.0 specification - content: - application/json: - schema: - $ref: https://spec.openapis.org/oas/3.0/schema/2021-09-28 - 5XX: - $ref: ../components/responses/ServerError.yaml diff --git a/paths/stats/views.yaml b/paths/stats/views.yaml index e9645bd..002e0a1 100644 --- a/paths/stats/views.yaml +++ b/paths/stats/views.yaml @@ -3,6 +3,7 @@ post: description: Log a view for a given page + summary: Log view for page tags: - stats requestBody: diff --git a/paths/terms.yaml b/paths/terms.yaml index bcc922e..6251479 100644 --- a/paths/terms.yaml +++ b/paths/terms.yaml @@ -3,6 +3,7 @@ get: description: API terms of use + summary: Get API terms of use tags: - docs responses: