Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

autocomplete-openapi

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

autocomplete-openapi

Autocompletes different parts of an OpenAPI spec

  • 0.1.4
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

OpenAPI request autocomplete

A small library that provides an autocomplete for OpenAPI requests, which looks like this:

POST /collections/{collection_name}/points/scroll

{
    "filter": {
        "must_not": [
            { "key": "city", "match": { "value": "London" } },
            { "key": "color", "match": { "value": "red" } }
        ]
    }
}

Which parts are autocompleted?

  • The HTTP method (GET, POST, PUT, DELETE, PATCH)
  • The path (e.g. /collections/{collection_name}/points/scroll)
  • Keys in the request body (e.g. filter, must_not, key, match, value)

Use OpenAPI v3 schemas for autocompletion. The schemas can be provided as a JSON file.

WARNING: This project is developed to be used with Qdrant OpenAPI schemas. It may not work with other schemas. Please, feel free to open a PR or fork the project if you want to make it more generic.

FAQs

Package last updated on 08 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc