Skip to content

Commit

Permalink
minor fix to README
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco Zanoni committed Jun 16, 2020
1 parent 7003752 commit deef0eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const SchemExtractor = require("openapi-json-schemextractor")

(async function () {

let schFromUrl = await SchemExtractor.fromFile("http://example.com/openapi.yaml")
let schFromUrl = await SchemExtractor.fromUrl("http://example.com/openapi.yaml")
let schFromString = await SchemExtractor.fromString("...")
let schFromObject = await SchemExtractor.fromObject({/* ... */})

Expand Down

0 comments on commit deef0eb

Please sign in to comment.