Giter Site home page Giter Site logo

How do I use this plugin? about yii2-swagger HOT 4 CLOSED

gbksoft avatar gbksoft commented on August 15, 2024
How do I use this plugin?

from yii2-swagger.

Comments (4)

Dell- avatar Dell- commented on August 15, 2024

Hi,
This module uses standard rules of Yii2 routing.
Add this module into your config file of application.
Use standard path - //
see >> https://github.com/gbksoft/yii2-swagger/blob/master/controllers/DefaultController.php

But this module have specific code for our company.

My recommendation - use original UI app as separate app
Swagger UI -> https://github.com/swagger-api/swagger-ui

Sorry for my bad english

from yii2-swagger.

RdeWilde avatar RdeWilde commented on August 15, 2024

Ah, thanks for the fast response. So this module does not generate the swagger json file/specs, but reads this?

from yii2-swagger.

Dell- avatar Dell- commented on August 15, 2024

Yes, only read swagger.json for build UI as http://petstore.swagger.io/

from yii2-swagger.

RdeWilde avatar RdeWilde commented on August 15, 2024

Thanks

from yii2-swagger.

Related Issues (3)

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.