简体   繁体   中英

How to import the Google Chat API discovery document into a Postman collection?

I cannot get Postman to recognize https://chat.googleapis.com/$discovery/rest?version=v1

I normally import Swagger documents and it creates collections for me without any problems. But this is not a Swagger file, it's a Google " discovery document ". I would have thought that Postman would somehow recognize this Google format but it doesn't. Is says: "Error while importing: format not recognized...".

My question: Without adding all methods separately, how do I "consume" / import this API in a / as a Postman collection?

I've not used it but you could try the Google Discovery to OpenAPI 3.x Converter , which converts Google discovery documents to OpenAPI (Swagger) format.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM