Skip to content

OpenAPI Specification

The echoValue API is fully documented using the OpenAPI 3.0 specification format.

Download the latest spec here: openapi.yaml

Open in Swagger UI

Use OpenAPI Generator to generate client libraries:

Terminal window
openapi-generator-cli generate \
-i https://docs.echovalue.dev/openapi.yaml \
-g javascript \
-o ./echovalue-client

Supported languages include Java, Ruby, PHP, C#, TypeScript, Rust, and many more.

ToolSteps
PostmanFile → Import → Link → Paste OpenAPI URL
InsomniaCreate → Import From → URL → Paste OpenAPI URL
PawFile → Import → Paste OpenAPI URL
HTTPieImport → OpenAPI → Paste OpenAPI URL
// Example with jest-openapi
const jestOpenAPI = require('jest-openapi');
jestOpenAPI('https://docs.echovalue.dev/openapi.yaml');
test('GET /default/mykey returns valid response', async () => {
const response = await fetch('https://api.echovalue.dev/kv/default/mykey', {
headers: { 'x-token': 'mytoken' }
});
expect(response).toSatisfyApiSpec();
});
Terminal window
npx @stoplight/prism-cli mock \
https://docs.echovalue.dev/openapi.yaml
# Runs at http://127.0.0.1:4010
  • The OpenAPI specification is updated alongside documentation releases.
  • Always use https://docs.echovalue.dev/openapi.yaml for the latest published version.