immutable / gods-unchained-api

Public developer API documentation for Gods Unchained.
59 stars 11 forks source link

Add OpenAPI 3.1 definitions #5

Open theogravity opened 2 years ago

theogravity commented 2 years ago

I made OpenAPI 3.1 definitions with documentation using Stoplight Studio.

There were some endpoints I couldn't document because they were returning 404s or some sql-related error.

Specific non-working examples include the /card/{id}, /image/{id}, and /user/{address} endpoints.

The referenced bundle is the master file as it re-uses parameters and components where possible, while the dereferenced one is for clients that cannot handle dereferencing via $ref.

theogravity commented 2 years ago

OpenAPI 3.0 definitions for this API is also on

https://github.com/theogravity/immutable-x-openapi