Hi Laurent,

I'm actually using Cornice (also with services definitions only), with
Colander for schemas definitions and validation, which allows you to get
Swagger API definitions very easily, and it works really fine!

Best regards,
Thierry
-- 
  https://www.ulthar.net -- http://pyams.readthedocs.io


Le mer. 11 sept. 2024 à 16:11, Laurent Daverio <[email protected]> a
écrit :

> Hello List,
>
> I would like to ask about recommended packages for writing API routes in
> Pyramid. I mostly know two ways of doing it:
>
> - using Pyramid views with a JSON renderer
> - using Cornice
>
> At one time, I was using `pyramid_openapi3` on tope of it, but I decided
> to stop, due to having lots of issues with it (but that's another story).
>
> I generally prefer Cornice, however there a lot of features I don't use,
> like validations, and "resources" (I only use "services", as "resources"
> are not flexible enough for my needs).
>
> So, at this point, my question is: if you were to recommend something
> "better" than Cornice ("better" meaning essentially "lighter"), what would
> it be?
>
> Thanks in advance,
>
> Laurent.
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "pylons-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pylons-discuss/CAB7cU6xtNQdj%3Dby9WjeJwJZkpV4-GOmDeyaq1XqyJZ_dGC%3D%2B0w%40mail.gmail.com
> <https://groups.google.com/d/msgid/pylons-discuss/CAB7cU6xtNQdj%3Dby9WjeJwJZkpV4-GOmDeyaq1XqyJZ_dGC%3D%2B0w%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pylons-discuss/CAPX_VWDRhNUwXrC5Dxcx7Bg5qJWHb%3DUPsB_eQMKOZFYiUQZ0yw%40mail.gmail.com.

Reply via email to