This commit is contained in:
artin 2025-02-18 00:31:20 -08:00
parent 301658bb71
commit 6a3011c691
3 changed files with 11 additions and 0 deletions

2
requirements.txt Normal file
View File

@ -0,0 +1,2 @@
click==8.1.8
bravado==11.1.0

BIN
swagger-codegen-cli.jar Normal file

Binary file not shown.

9
test.py Normal file
View File

@ -0,0 +1,9 @@
from bravado.client import SwaggerClient
client = SwaggerClient.from_url('https://telecom-pcs.wus2-01.prod.prod.telecom.srv.servicetitan.com/swagger/v1/swagger.json')
print(client)
quit()
pet = client.pet.getPetById(petId=1).response().result
# load Swagger resource file into App object