-
Notifications
You must be signed in to change notification settings - Fork 42
/
stainless.yml
131 lines (130 loc) · 2.8 KB
/
stainless.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
# yaml-language-server: $schema=https://app.stainlessapi.com/config.schema.json
organization:
name: terminal
docs: https://terminal.shop/docs
contact: [email protected]
openapi:
code_samples: x-codeSamples
resources:
product:
models:
product: Product
productVariant: ProductVariant
methods:
list: get /product
profile:
models:
profile: Profile
methods:
me: get /profile
update: put /profile
address:
models:
address: Address
methods:
list: get /address
create: post /address
delete: delete /address/{id}
card:
models:
card: Card
methods:
list: get /card
create: post /card
delete: delete /card/{id}
cart:
models:
cart: Cart
methods:
get: get /cart
setItem: put /cart/item
setAddress: put /cart/address
setCard: put /cart/card
convert: post /cart/convert
order:
models:
order: Order
methods:
get: get /order/{id}
list: get /order
subscription:
models:
subscription: Subscription
methods:
list: get /subscription
create: post /subscription
delete: delete /subscription/{id}
token:
models:
token: Token
methods:
list: get /token
create: post /token
get: get /token/{id}
delete: delete /token/{id}
app:
models:
app: App
methods:
list: get /app
create: post /app
get: get /app/{id}
delete: delete /app/{id}
email:
methods:
create: post /email
view:
methods:
init: get /view/init
settings:
license: Apache-2.0
client_settings:
opts:
bearer_token:
type: string
auth:
security_scheme: Bearer
read_env: TERMINAL_BEARER_TOKEN
environments:
production: https://api.terminal.shop/
sandbox: https://sandbox.terminal.shop/
query_settings:
nested_format: brackets
array_format: comma
readme:
example_requests:
default:
type: request
endpoint: get /product
params: &ref_0 {}
headline:
type: request
endpoint: get /product
params: *ref_0
targets:
node:
package_name: '@terminaldotshop/sdk'
production_repo: terminaldotshop/terminal-sdk-js
publish:
npm: true
go:
package_name: terminal
production_repo: terminaldotshop/terminal-sdk-go
python:
project_name: terminal-shop
package_name: terminal_shop
production_repo: terminaldotshop/terminal-sdk-python
publish:
pypi: true
java:
reverse_domain: shop.terminal.api
production_repo: terminaldotshop/terminal-sdk-java
publish:
maven:
sonatype_platform: portal
kotlin:
reverse_domain: shop.terminal.api
production_repo: terminaldotshop/terminal-sdk-kotlin
publish:
maven:
sonatype_platform: portal