API Dev Workflow with FastAPI and Postman

preview_player
Показать описание
Automate generation of documentation, mock server, monitor, and collection updates for your FastAPI projects in Postman!

With Nick Schott, Senior Solutions Engineer | Postman

Рекомендации по теме
Комментарии
Автор

Nice video, I have a bunch of questions (other viewers feel free to answer if you know):

1) How do you get the name of the target collection you want to generate the Postman assets? (It would be useful to put this command in the description of this video.)
2) How does newman know to query the endpoint on localhost:8000? What if the server is on a different port?
3) Do you need to do anything to set up your Postman workspace prior to running the newman command? At 3:00 you already have collections for Client Smoke Tests, Docs, and Mocks. Do these need to exist before? I have a completely brand new workflow (I haven't used many features in Postman outside of one-off requests.)
4) Why would you want to write documentation specific to Postman? Wouldn't this be more useful in the source code of the FastAPI app? Can the collection pull documentation from the API spec instead?

It would be great to see a follow-up video that goes further into the other features like managing smoke tests and mocks. I've never used these features so its all new to me.

Cheers

greggles_b
Автор

This is so cool - exactly what I wanted for my side project

ramjienamuthu
Автор

what is this json viewer chrome extension?

resulyrt
join shbcf.ru