OpenAPI
Description
References
Compatibility
The OpenAPI package provides a way to generate a Maple package with procedures generated to interact with all of the methods of a RESTful API or other HTTP API specified with a JSON or YAML file in OpenAPI syntax.
The OpenAPI initiative describes the OpenAPI Specification as "a way to define a standard, programming language-agnostic interface description for HTTP APIs, which allows both humans and computers to discover and understand the capabilities of a service without requiring access to additional source code or documentation."
The main command in this package is OpenAPI:-GenerateModule which reads a specification and produces a module that can access the API using the URL package.
The OpenAPI specification : https://spec.openapis.org/oas/latest.html
The OpenAPI package was introduced in Maple 2023.
For more information on Maple 2023 changes, see Updates in Maple 2023.
See Also
HTTP
OpenAPI:-GenerateModule
URL
Download Help Document