Coder Social home page Coder Social logo

Comments (6)

seraphjiang avatar seraphjiang commented on May 27, 2024

Thanks @BionIT , like the idea to use swagger to generate api doc

  • Could we list all existing saved object api so we could track progress
  • could we have use one api to create an example

from opensearch-dashboards.

ashwin-pc avatar ashwin-pc commented on May 27, 2024

@BionIT Love the idea! Have you looked into the existing API doc generation tool? yarn docs:acceptApiChanges . This documents Plugin API's though but id like to have one consolidated tool rather than two if possible.

from opensearch-dashboards.

BionIT avatar BionIT commented on May 27, 2024

Thanks @ashwin-pc! Yeah, I looked at it which using api-documenter behind the scene to generate markdowns, it is different from what I am proposing here which is to provide API specification which explains how our dashboard rest API behaves and what to expect from the API in a standard format. It can work together with swagger UI.

from opensearch-dashboards.

zengyan-amazon avatar zengyan-amazon commented on May 27, 2024

Thanks @BionIT ! It is a great idea to leverage Swagger to improve the discovery and integrity of OpenSearch Dashboards APIs!

from opensearch-dashboards.

ashwin-pc avatar ashwin-pc commented on May 27, 2024

Makes sense. Will this be an automated flow or do we have to track it manually? Also is there a reason you are limiting it to just saved objects? Sicne we have some other useful API's like the stats API that could benefit from this :)

from opensearch-dashboards.

seraphjiang avatar seraphjiang commented on May 27, 2024

let's add sub tasks

  • add example for creating visualization through saved object
  • add example for creating dashboards through saved object
  • add support build-in saved object type [viz, dashboards, index-pattern, datasource, workspace]
  • add example for advanced settings

from opensearch-dashboards.

Related Issues (20)

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.