Skip to content

Commit

Permalink
change back sdk class name
Browse files Browse the repository at this point in the history
  • Loading branch information
rkeur7 committed Nov 14, 2024
1 parent 10e5e43 commit 74b55e5
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
configVersion: 2.0.0
generation:
sdkClassName: Shippo
sdkClassName: ShippoSDK
maintainOpenAPIOrder: true
usageSnippets:
optionalPropertyRendering: withExample
Expand Down
43 changes: 43 additions & 0 deletions .speakeasy/tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
testsVersion: 0.0.1
tests:
CreateOrder:
- name: Successfully create order
parameters:
header:
application/json:
- $ref: '#/.public-api/components/parameters/ShippoApiVersionHeader'
requestBody:
application/json:
- $ref: '#/.public-api/components/schemas/OrderCreateRequest'
responses:
'201':
application/json:
- $ref: '#/.public-api/components/responses/orderResponse'

ListOrders:
- name: Successfully get all orders
parameters:
query:
application/json:
- $ref: '#/.public-api/components/parameters/PageNumberQueryParam'
- $ref: '#/.public-api/components/parameters/ResultsPerPageQueryParam'
header:
application/json:
- $ref: '#/.public-api/components/parameters/ShippoApiVersionHeader'
responses:
'200':
application/json:
- $ref: '#/.public-api/components/responses/orderPaginatedResponse'

GetOrder:
- name: Successfully get an order
parameters:
header:
application/json:
- $ref: '#/.public-api/components/parameters/ShippoApiVersionHeader'
path:
OrderId: '1267ab11165b44ff993634b28e5d9ce5'
responses:
'200':
application/json:
- $ref: '#/.public-api/components/responses/orderResponse'

0 comments on commit 74b55e5

Please sign in to comment.