Convert collection #3486
-
Is it possible to convert collection to document? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi @gabrielgrazziani -- I am not sure that this would be very beneficial. In a Document, the debug tab is powered by the OpenAPI spec. If you don't have a spec ready to go, you would lose all those requests in your collection. If you have an OpenAPI spec, it would be more beneficial to just create a new document and use that spec. Does that make sense? Or am I not understanding your ask? |
Beta Was this translation helpful? Give feedback.
-
Hi! May I ask for what purpose you are looking to switch from collection to document? Is it for unit tests, for the openapi spec, or to generate an openapi spec from the collection of requests, or something else? Anyway, short answer is: no you can't convert right now. You also can't, unfortunately, generate an openapi spec from an existing collection. We only support the generation of requests from an openapi spec, not the other way around, at the moment. |
Beta Was this translation helpful? Give feedback.
Hi! May I ask for what purpose you are looking to switch from collection to document? Is it for unit tests, for the openapi spec, or to generate an openapi spec from the collection of requests, or something else?
Anyway, short answer is: no you can't convert right now. You also can't, unfortunately, generate an openapi spec from an existing collection. We only support the generation of requests from an openapi spec, not the other way around, at the moment.