You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,12 +63,27 @@ BREAKING CHANGE: use JavaScript features not available in Node 6
63
63
We are using [OpenAPI generator](https://github.com/OpenAPITools/openapi-generator) along with these OAS yaml files to generate our new SDKs.
64
64
65
65
## Preview
66
+
### Online
66
67
There are lots of tools available for viewing and editing OpenAPI descriptions in a nicely formatted way. A popular tool is SwaggerHub - a version of which is [hosted here](https://app.swaggerhub.com/home).
67
68
68
69
Once you sign up or login, you can create a new API under your account and import a Xero API spec.
69
70
70
71

71
72
73
+
### Local
74
+
75
+
#### Node.js
76
+
If you have Node.js you can use the Swagger UI via an NPM package (it will open a webpage in your default browser):
description: Date when the subscription was first created.
300
300
format: date-time
@@ -343,7 +343,7 @@ components:
343
343
List of the subscription items belonging to the plan. It does not
344
344
include cancelled subscription items.
345
345
items:
346
-
$ref: '#/components/schemas/SubscriptionItem'
346
+
$ref: "#/components/schemas/SubscriptionItem"
347
347
type: array
348
348
required:
349
349
- id
@@ -398,10 +398,10 @@ components:
398
398
type: string
399
399
price:
400
400
description: The price of the product subscribed to.
401
-
$ref: '#/components/schemas/Price'
401
+
$ref: "#/components/schemas/Price"
402
402
product:
403
403
description: The product subscribed to.
404
-
$ref: '#/components/schemas/Product'
404
+
$ref: "#/components/schemas/Product"
405
405
quantity:
406
406
description: The quantity of the item. For a fixed product, it is 1. For a per-seat product, it is a positive integer. For metered products, it is always null.
0 commit comments