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

Service: import

This service is responsible for importing content, such as code or data, and generating client and server components based on the input.

Input Parameter:

Name Type Description
content: String The content, often in text form, to be imported and processed.
generateClient: Boolean A boolean flag that, when set to true, indicates that client-related services should be generated based on the imported content.
generateServerStub: Boolean A boolean flag that, when set to true, indicates that server-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
clientServices: Document A document containing the generated client-related services or components based on the imported content.
serverServices: Document A document containing the generated server-related services or components based on the imported content.