mmontone / cl-rest-server

Serve REST APIs from Common Lisp
http://mmontone.github.io/cl-rest-server/cl-rest-server/
MIT License
66 stars 9 forks source link

API example from docs does not work #12

Open svetlyak40wt opened 3 years ago

svetlyak40wt commented 3 years ago

Because rest-server:define-api now waits for superclasses list as the second argument.

mmontone commented 3 years ago

Syntax changed, yes. I'll see to update docs.

mmontone commented 3 years ago

I've updated the docs, but I suspect the docs need to be reviewed thoroughly. It's very likely there are many more inconsistencies.

svetlyak40wt commented 3 years ago

I just tried cl-rest-server to create a simple REST server and failed. Then I failed with reastas. And only ningle worked like I wanted.

In cl-rest-server handlers definition macro also does not work as documented :(

mmontone commented 3 years ago

OK. I'll update the docs. But also create a rest-server-demo ASDF system with a mini demo application

El 24 de diciembre de 2020 4:26:13 GMT-03:00, Alexander Artemenko notifications@github.com escribió:

I just tried cl-rest-server to create a simple REST server and failed. Then I failed with reastas. And only ningle worked like I wanted.

In cl-rest-server handlers definition macro also does not work as documented :(

-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/mmontone/cl-rest-server/issues/12#issuecomment-750786503

-- Enviado desde mi dispositivo Android con K-9 Mail. Por favor, disculpa mi brevedad.

mmontone commented 3 years ago

I've just started a demo to see if I can improve things: https://github.com/mmontone/cl-rest-server/blob/master/demo/demo.org