Code Monkey home page Code Monkey logo

Comments (10)

cnizzardini avatar cnizzardini commented on July 24, 2024

What version of this library are you running? Can you check by running composer show -i | grep swagger or checking in your composer.lock file?

My guess is upgrading to the latest v1.x will resolve this @shaan100

from cakephp-swagger-bake.

shaan100 avatar shaan100 commented on July 24, 2024

I run this command composer show -i | grep swagger and got follow response please see in below

You are using the deprecated option "installed". Only installed packages are shown by default now. The --all option can be used to show all packages.
cnizzardini/cakephp-swagger-bake v1.4.0 Automatically generate Swagger documentation from your exist routes with minimal comments and configuration

from cakephp-swagger-bake.

cnizzardini avatar cnizzardini commented on July 24, 2024

Can you check your composer.lock for the exact version you are using or just run composer update cnizzardini/cakephp-swagger-bake.

I am trying to confirm you are on the latest version of the library. Your composer.json only gives a version constraint, but that doesn't tell me the exact version number you are on.

from cakephp-swagger-bake.

shaan100 avatar shaan100 commented on July 24, 2024

"name": "cnizzardini/cakephp-swagger-bake",
"version": "v1.4.0",
"source": {
"type": "git",
"url": "https://github.com/cnizzardini/cakephp-swagger-bake.git",
"reference": "3077ad0fa2473ca6c18c5f18eaefdade1a9d8d19"
},

from cakephp-swagger-bake.

shaan100 avatar shaan100 commented on July 24, 2024

yes i am using latest version cakephp 4.4.17 and swagger plugin

from cakephp-swagger-bake.

shaan100 avatar shaan100 commented on July 24, 2024

Screenshot from 2023-09-02 20-56-56

from cakephp-swagger-bake.

cnizzardini avatar cnizzardini commented on July 24, 2024

Your composer lock says you are on version 1.4.0. The latest version of 1.x which is v1.7.11 has likely resolved this issue:

https://github.com/cnizzardini/cakephp-swagger-bake/blob/1.next/src/Lib/Operation/OperationSecurity.php

Verify you have upgraded to the latest version.

from cakephp-swagger-bake.

shaan100 avatar shaan100 commented on July 24, 2024

I do not know what exactly problem man, just update composer and composer update cnizzardini/cakephp-swagger-bake but still getting error on screen.

please tell me how can i update?
composer update this command return nothing update found

CAKEPHP 4.4.17

from cakephp-swagger-bake.

cnizzardini avatar cnizzardini commented on July 24, 2024

Try changing your version constraint to ^1.7 maybe? If you are still getting this error when you can confirm you are on the latest 1.x version I will help out.

from cakephp-swagger-bake.

shaan100 avatar shaan100 commented on July 24, 2024

yap! its working now, thanks a lot friend

from cakephp-swagger-bake.

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.