Extract path

The format of the path 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 path information for the PetStore OpenAPI specification

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

The output 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

GET	logoutUser	/user/logout
GET	loginUser	/user/login
POST	createUsersWithListInput	/user/createWithList
POST	createUser	/user
POST	placeOrder	/store/order
GET	getInventory	/store/inventory
GET	findPetsByTags	/pet/findByTags
GET	findPetsByStatus	/pet/findByStatus
POST	addPet	/pet
PUT	updatePet	/pet
GET	getUserByName	/user/{username}
PUT	updateUser	/user/{username}
DELETE	deleteUser	/user/{username}
GET	getOrderById	/store/order/{orderId}
DELETE	deleteOrder	/store/order/{orderId}
POST	uploadFile	/pet/{petId}/uploadImage
GET	getPetById	/pet/{petId}
POST	updatePetWithForm	/pet/{petId}
DELETE	deletePet	/pet/{petId}