Releases: luckymarmot/Paw-OpenAPI3Importer
Releases · luckymarmot/Paw-OpenAPI3Importer
0.1.1-beta.5
this commit upgrades the swagger parser and sets the options to:
continueOnError: true
do not throw on first errorresolve.file: false
do not resolve external referencesresolve.http: false
do not resolve URL references
0.1.1-beta.4
chore(server-url-placeholder): enVar for server objects
When importing a file and the server url is defined without the domain, requests that are imported are missing an origin, while the importer adds a substitute URL to make the request valid, it makes it hard for users to update multiple requests with the origin they prefer.
This commit addresses that issue, when an imported file does not have a valid URL, the importer creates an environment variable, and sets its value to https://echo.paw.cloud
which is added to every request.
0.1.1-beta.2
0.1.1-beta.1
chore(enable-circular-reference)
- updated: pushed back support to
3.0.x
- updated: openapi v3 petstore example
- updated: enable circular reference
0.1.1-beta
- import server objects as environment variables
- fix/update import URL
- fix/update extension name, remove redundant "Importer" suffix
0.1.0-beta
Co-authored-by: Micha Mazaheri [email protected]
- updated: utilize @apidevtools/swagger-parser to validate and parse OpenAPI documents
- updated: utilize openapi-types for typings
- chore: upgraded webpack, babel setup and jest setup
- chore: updated extension config references
- chore: improve code coherence, reduce code complexity
TODO
-
utils/paw-url.ts
improve code coherence, utilizeURL
api -
utils/json-schema-parser.ts
- improve code, ensure compliance with openapi/json-schema specs -
utils/console.ts
- ensure to cover cyclic objects+references
0.1.1-beta.3
improve(validation-prompt): validation message
- improved: validation error message
- updated : bumped swagger-parser version to 10.0.3