Good progress on the #dweb REST APIs and improvements to the #OpenAPI docs today, all with the help of #actix and #utoipa

BTW #SwaggerUI is really cool

A few days ago I knew nothing about these but now I have a working API that is documented and can be tested live while reading those docs.

Someone asked if I might support #GraphQL but I haven't looked into that. Convince me that I should!

Having played a bit I'm now adding #OpenAPI docs with #Swagger UI to #Autonomi dweb using #utoipa and #utoipauto.

EDIT: switched from #utoipauto to #utoipa_actix_web

I'm neither a user nor, until now a builder of HTTP APIs so stumbling around, but these crates do a decent job of being usable even to a novice.

I really shouldn't be let loose with all this  

#Rustlang #REST #WebAPI

Baby steps building my first #REST API into #dweb using #actix and now wondering how to document it.

First impression is #utoipa (more active and possibly suitable than #apisto) so I'll try the former first.

Opinions and experiences with these and other options welcome!
#OpenAPI #Rustlang

Today's task: integrating the information from an OpenAPI spec with 3.5k lines directly into the API implementation using #utoipa. https://docs.rs/utoipa/latest/utoipa/derive.OpenApi.html https://docs.rs/utoipa/latest/utoipa/derive.ToResponse.html and https://docs.rs/utoipa/latest/utoipa/derive.ToSchema.html are my supporters for this task. #RustLang
OpenApi in utoipa - Rust

Generate OpenApi base object with defaults from project settings.