Extract prepath

The format of the prepath output is described in the below table.
The text for descriptions and long text is concatenated in the extract.

Row Type Column Column Type Purpose Values
1 Row Type string The type of data on the row. HD=Header, RP=Response, RQ=Request, SC=Schema HD, RP, RQ, SC

Example

Executing the below code will display the prepath information for the PetStore OpenAPI specification

qaskx-cli   definition extract --category prepath --spec https://petstore3.swagger.io/api/v3/openapi.json

The ouput to console will be something like:

	      ______           ___           _______. __  ___ ___   ___ 
	     /  __  \         /   \         /       ||  |/  / \  \ /  / 
	    |  |  |  |       /  ^  \       |   (----`|  '  /   \  V  /  
	    |  |  |  |      /  /_\  \       \   \    |    <     >   <   
	    |  `--'  '--.  /  _____  \  .----)   |   |  .  \   /  .  \  
	     \_____\_____\/__/     \__\ |_______/    |__|\__\ /__/ \__\ 
																   															 
	
          qaskx-cli  - command line tool 
          version     - 0.0.5
          url         - https://docs.qaskx.one/qaskx-cli/
          copyright   - 2023 qaskx.one, usage license limited

/api/v3