Skip to content

Commit 229280f

Browse files
authored
Fix typos
1 parent fc0eb89 commit 229280f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,21 +117,23 @@ JPostman allows you to generate JSON for your collections. You can also write y
117117
Collection pmcSource = Collection.pmcFactory("/path/to/another/collection.json");
118118
pmcTest.addCollection(pmcSource);
119119
pmcTest.writeToFile("new-collection.json");
120+
```
120121

121122
### Create or update a collection in Postman
122123

123124
You can upsert (create or update) a collection in Postman, optionally adding it to a workspace.
124125
- If a collection does not have a collection ID, it will be created on Postman, and given the UUID returned by Postman
125126
- You can optionally include a workspace ID to link the newly created collection to that workspace
126-
- If a collection has a collection ID, it will be updated in Postman.
127127

128-
```
128+
```java
129129
pmcTest.upsertToPostman(new PostmanID(<POSTMAN_WORKSPACE_ID>"));
130130
```
131+
132+
- If a collection has a collection ID, it will be updated in Postman.
133+
134+
131135
132-
```
133136
134-
```
135137
136138
### Validate collections (and any collection element) against the Postman Collection Schema
137139

0 commit comments

Comments
 (0)