Docs Menu
API Developer Guide / middleware / pub / specs / postman / v3 / PostmanImport

Service: PostmanImport

This service is responsible for importing postman collection and generating client and server components based on the input.

Input Parameter:

Name Type Description
*payload: Document The payload containing the Postman collection to be imported.
generateClient: Boolean A boolean flag that, when set to true, indicates that client-related services should be generated based on the Swagger content.
generateServerStub: Boolean A boolean flag that, when set to true, indicates that client-related services should be generated based on the imported content.
packageName: String The name of the package or namespace to be used for organizing the generated client and server components.

Output Parameter:

Name Type Description
status: Boolean A boolean value indicating the status or success of the import and generation process.
clientServices: Document A document containing the generated client-related services..
serverServices: Document A document containing the generated server-related services..