Giter Site home page Giter Site logo

API Documentation about docs HOT 12 OPEN

slash-go avatar slash-go commented on June 15, 2024
API Documentation

from docs.

Comments (12)

navinpai avatar navinpai commented on June 15, 2024 1

Once you make changes in swagger file, please do the following steps from the README to update the generated index.html file with your changes:

// If you don't have redoc-cli, install it
$ npm i -g redoc-cli serve

$ redoc-cli build swagger.yaml -o index.html
$ serve -s .

from docs.

zahertalab avatar zahertalab commented on June 15, 2024

Is it a RESTful API? If yes, where I can start?

from docs.

navinpai avatar navinpai commented on June 15, 2024

Hey @zahertalab ,

Yes, it is a restful API. The API routes are all part of the api directory and they call code in the controllers directory which can be used as a reference for validations etc.

from docs.

zahertalab avatar zahertalab commented on June 15, 2024

I wonder if there is some swagger or open API UI available?

from docs.

navinpai avatar navinpai commented on June 15, 2024

We don't have Swagger/OpenAPI set up as of today, but if you can set up a swagger yaml, I'd be happy to have it part of the project to make it more accessible to folks in the future! 👍

Update: @zahertalab We now have a new swagger documentation repo: https://github.com/Slash-Go/Docs ... I've moved the issue to the new repo. Docs are currently served at https://docs.slashgo.link/ from this repo.

from docs.

EleekaN avatar EleekaN commented on June 15, 2024

Hi @navinpai I want to work on this. Just to summarize, you want the swagger documentation to be updated with other end points like Auth , Organizations etc.

from docs.

navinpai avatar navinpai commented on June 15, 2024

Hi @navinpai I want to work on this. Just to summarize, you want the swagger documentation to be updated with other end points like Auth , Organizations etc.

Yes, that's right... It would be great to have the swagger.yaml updated with all the endpoints and responses

Thanks in advance!

from docs.

EleekaN avatar EleekaN commented on June 15, 2024

from docs.

navinpai avatar navinpai commented on June 15, 2024

Sure...is there one location/file where I can get all the endpoints and responses. I remember seeing some of it on different folders.

The API routes are all part of the api directory and they call code in the controllers directory which can be used as a reference for validations etc. Sorry we don't have a single path for it yet, but we're hoping this repo becomes that single source of truth for the API 😸

from docs.

EleekaN avatar EleekaN commented on June 15, 2024

localhost://3000 doesn't reflect the changes I make on the swagger.yaml file. How can I sync it locally, so I can validate my work?

from docs.

EleekaN avatar EleekaN commented on June 15, 2024

Hi @navinpai, I have done some baseline work for 'auth' endpoints. Need some inputs and feedback before I proceed further . I will create a pull request, please have a look.

from docs.

Peaaboo-Madton avatar Peaaboo-Madton commented on June 15, 2024

Hello, do you still need help with the documentation? I see the last update was 28 days ago.

from docs.

Related Issues (1)

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.