Git Product home page Git Product logo

Comments (12)

Yanshijie-EL avatar Yanshijie-EL commented on August 28, 2024

you can use it now

from egg-swagger-doc.

sm2017 avatar sm2017 commented on August 28, 2024

@Ysj291823 http://127.0.0.1:7001/swagger-ui.html is not works , what is new endpoint?

from egg-swagger-doc.

Yanshijie-EL avatar Yanshijie-EL commented on August 28, 2024

it is the endpoint, is there err log

from egg-swagger-doc.

sm2017 avatar sm2017 commented on August 28, 2024

@Ysj291823 no error log , just 404 not found page when I open http://127.0.0.1:7001/swagger-ui.html

from egg-swagger-doc.

Yanshijie-EL avatar Yanshijie-EL commented on August 28, 2024

you can see https://github.com/Ysj291823/egg-example-api , Are there any differences?

from egg-swagger-doc.

Yanshijie-EL avatar Yanshijie-EL commented on August 28, 2024

i have meet the same problem, when upgrade the old version plugin to new. i will check it.

from egg-swagger-doc.

Yanshijie-EL avatar Yanshijie-EL commented on August 28, 2024

it is not effective in windows, the option.alias of koa-static-cache.

from egg-swagger-doc.

Yanshijie-EL avatar Yanshijie-EL commented on August 28, 2024

you can try for it , i push a new version

from egg-swagger-doc.

sm2017 avatar sm2017 commented on August 28, 2024

I tried version 2.1.5 , http://127.0.0.1:7001/swagger-ui.html is not works , Error 404

from egg-swagger-doc.

sm2017 avatar sm2017 commented on August 28, 2024

i have meet the same problem, when upgrade the old version plugin to new. i will check it.

I also test it in fresh project

from egg-swagger-doc.

sm2017 avatar sm2017 commented on August 28, 2024

you can see https://github.com/Ysj291823/egg-example-api , Are there any differences?

I clone egg-example-api and remove https://github.com/Ysj291823/egg-swagger-doc/blob/master/package.json#L27-L29 as I use node 10.14.2

http://localhost:7001/swagger-ui.html works!!!! Why?

from egg-swagger-doc.

sm2017 avatar sm2017 commented on August 28, 2024

I found that you add enable option default is false

from egg-swagger-doc.

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.