Giter Site home page Giter Site logo

sideko-inc / sideko Goto Github PK

View Code? Open in Web Editor NEW
54.0 4.0 2.0 489 KB

Generate SDKs and docs for your API

Home Page: https://sideko.dev

License: Other

Rust 87.11% Shell 8.74% HTML 4.16%
api documentation openapi openapi-spec openapi3 rest-api sdk api-client openapi-generator openapi-specification

sideko's Introduction

Sideko, Inc.

Put the spotlight on your API

Website | Docs


Welcome to Sideko, the platform for creating REST API tools and documentation.

Use OpenAPI 3.x specifications to generate:

  • SDKs with types, tests, authentication, and code snippets
  • Mock servers that mimic the behavior of your API
  • Hosted API Documentation that stays up to date automatically

Installation

Install via pip

pip install sideko-py

OR

Install via curl (macOS, Linux, Windows w/ WSL)

curl -fsSL https://raw.githubusercontent.com/Sideko-Inc/sideko/main/install.sh | sh

Usage

Login

You need a Sideko API Key to generate SDKs. Start generating free SDKs by either:

  1. Signing up / logging in via the CLI, or
  2. Signing up / logging in at app.sideko.dev (User Icon > API Keys)
sideko login
# Complete login via browser pop-up

Run sideko login --help to list all options.

The API key is read from (in order of priority):

  • $PWD/.sideko
  • $HOME/.sideko
  • SIDEKO_API_KEY environment variable

Free tier

Generate an unmanaged SDK with "sideko sdk try"

Language Supported
Python
Ruby
Go
Typescript
Rust
C# 🚧
Java 🚧
sideko sdk try (your Swagger/OpenAPI spec) python
  • The OpenAPI source can be a path to a local .json or .yaml file, a URL, or the raw spec as a string.
  • Language options: python, typescript, ruby, rust, or go

Run sideko --help to list all options.

Enterprise features

Head over to the complete CLI Documentation Page for instructions on how to programmatically maintain your complete API toolset.

Excited about Sideko?

Reach us at [email protected]

Reference

sideko's People

Contributors

eliasposen avatar pk8189 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

sideko's Issues

Generation Bug [python]

Issue: Generation Bug

  • OpenAPI spec is valid 3.x spec (confirm with swagger editor
  • Spec file causing issue included

Describe the bug

Full output is:

❯ sideko sdk generate https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/cognitiveservices/data-plane/Speech/SpeechToText/stable/v3.1/speechtotext.json python -v
[2024-06-01T15:46:18Z DEBUG sideko::config] no config found at -----------------
[2024-06-01T15:46:18Z DEBUG sideko::config] loaded config from /home/myuser/.sideko
[2024-06-01T15:46:18Z INFO  sideko::cmds::generate] Generating Sideko SDK in python
[2024-06-01T15:46:18Z DEBUG sideko::cmds::generate] Loading OpenAPI spec from url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/cognitiveservices/data-plane/Speech/SpeechToText/stable/v3.1/speechtotext.json
[2024-06-01T15:46:18Z DEBUG sideko::utils] Checking for updates (CLI verion: 0.5.0)...
[2024-06-01T15:46:20Z DEBUG sideko::cli] Response returned unsuccessful status code: 400
[2024-06-01T15:46:20Z ERROR sideko::cli] API Error: Failed generating SDK. Re-run the command with -v to debug.

To Reproduce

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.