openapi-snippet icon indicating copy to clipboard operation
openapi-snippet copied to clipboard

Generates code snippets for given Swagger / Open API documents

Results 37 openapi-snippet issues
Sort by recently updated
recently updated
newest added

I tried this: ``` const targets = [ 'node_unirest', 'c', 'java', 'shell_curl', 'shell_httpie', 'go' ] const results = SwaggerSnippet.getSwaggerSnippets('http://localhost:3000/static/openapi.yaml', targets) ``` And returned a empty array. How can I use...

According to the Open API 3 specification there can be additional properties in `paths`, which don't identify a operation (e.g. `summary`, `description`, `servers`, `parameters`): https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#path-item-object https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#pathItemObject Anyhow, **swagger-snippet** creates snippets...

Thanks a lot for such a beautiful and high performant tool. I am using this to update Swagger UI to include code snippets. I am looking for typescript and angular...

https://github.com/ErikWittern/swagger-snippet/blob/a97df1b5e87f43a5cda3fcfa06e1ec8b6ef1d97b/swagger-to-har.js#L240 ignores default value if one is provided... should be similar to https://github.com/ErikWittern/swagger-snippet/blob/a97df1b5e87f43a5cda3fcfa06e1ec8b6ef1d97b/swagger-to-har.js#L186

related to this issue https://github.com/ErikWittern/openapi-snippet/issues/99

I'm using the `openapi-snippet` in a project, but I have some issue related to use the Node `v20.11.0`, doing some debug, it seems related to the version used by this...

Bumps [browserify-sign](https://github.com/crypto-browserify/browserify-sign) from 4.0.4 to 4.2.2. Changelog Sourced from browserify-sign's changelog. v4.2.2 - 2023-10-25 Fixed [Tests] log when openssl doesn't support cipher [#37](https://github.com/crypto-browserify/browserify-sign/issues/37) Commits Only apps should have lockfiles 09a8995...

dependencies

This one is an easy and small fix for an edge case where servers could be an empty array.