Next: , Previous: , Up: Top   [Contents][Index]

9 API documentation

There’s an (incomplete) implementation of a Swagger3 export.

First, configure the api for Swagger:

(define-swagger-resource api)

This will enable CORS4 on the API, as Swagger needs it to make requests.

After this you can download the Swagger documentation tool and point to the api HTTP address.


Footnotes

(3)

https://helloreverb.com/developers/swagger

(4)

https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS


Next: , Previous: , Up: Top   [Contents][Index]