Improved the definition of the "info" section for the OpenAPI specification document in the library target.

This commit is contained in:
2025-10-15 00:25:15 +02:00
parent 5521e29599
commit 16c62a5df8
+6 -5
View File
@@ -17,15 +17,16 @@ info:
title: Amiibo API title: Amiibo API
summary: A RESTFul API for Amiibo. summary: A RESTFul API for Amiibo.
description: | description: |
# information # Information
_AmiiboAPI_ is primarily used for educational purposes. The [AmiiboAPI](https://www.amiiboapi.com) service is primarily used for educational purposes.
This is a **reading-only API**. Only HTTP GET method is allowed by this API. This is a **reading-only API**. Only HTTP GET method is allowed by this API.
**No authentication** is required to use this API. All resources are allowed to access. **No authentication** is required to use this API. All resources are allowed to access.
If you are going to be calling this API regularly. We recommend that you use **caching** on your system. If you are going to be calling this API regularly. We recommend that you use **caching** on your system.
# Terms & Conditions # Terms & Conditions
By using our API, you hereby accepted the following terms and conditions: By using our API, you hereby accepted the following terms and conditions:
* *This API has no affiliation with Nintendo or any other companies that own the rights to it.* * *This API has no affiliation with Nintendo or any other companies that own the rights to it.*
@@ -42,6 +43,9 @@ info:
license: license:
name: MIT license name: MIT license
identifier: MIT identifier: MIT
externalDocs:
url: https://www.amiiboapi.com/docs
description: Amiibo API documentation
servers: servers:
- url: https://www.amiiboapi.com/api - url: https://www.amiiboapi.com/api
description: Live service description: Live service
@@ -52,9 +56,6 @@ tags:
description: Game-related endpoints. description: Game-related endpoints.
- name: Service - name: Service
description: Service-related endpoints. description: Service-related endpoints.
externalDocs:
url: https://www.amiiboapi.com/docs
description: Amiibo API documentation
paths: paths:
/amiibo: /amiibo:
get: get: