question

josemotta_190638 avatar image
josemotta_190638 asked josemotta_190638 commented

Can you provide a sample Swagger scheme for Python?

It would be great to have also an example based on a swagger for Python. Is it possible to show us a solution? Thanks
workshoppython driver
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered josemotta_190638 commented

As discussed in this week's workshop livestream, @bettina.swynnerton will try to look into this in the coming weeks so stay tuned.

In the meantime, you might be interested in this example from Thomas Pollet's blog post, "Automatically Generate OpenAPI Specifications & Documentation with Python". Cheers!

1 comment Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

josemotta_190638 avatar image josemotta_190638 commented ·

Thanks, Erick! Interesting post about OpenAPI spec generator from Python code. Actually, I was looking for automation to generate Python code, given the OpenAPI spec model. Something like the code generated by Swagger Hub and that could help with building Cassandra dao. Regards!

0 Likes 0 ·