Giter Club home page Giter Club logo

Comments (5)

Luap99 avatar Luap99 commented on September 26, 2024

Does 5.0.2 look correct to you? We had recent fixes for the swagger yaml.

from podman.

wez avatar wez commented on September 26, 2024

Ah yes, that looks much better!

from podman.

sandip-bhoi-od avatar sandip-bhoi-od commented on September 26, 2024

SWAGGER_GENERATE_EXTENSION=false eliminates adding x-go-package in the definition. But I really dont have the struct definition in the definitions :(

With out struct fields details the swagger json is useless. I have this version

swagger version
version: v0.30.5
commit: ab6a7885723430004f1d7db6395369b6e7f3370b

from podman.

Luap99 avatar Luap99 commented on September 26, 2024

SWAGGER_GENERATE_EXTENSION=false eliminates adding x-go-package in the definition. But I really dont have the struct definition in the definitions :(

With out struct fields details the swagger json is useless. I have this version

swagger version
version: v0.30.5
commit: ab6a7885723430004f1d7db6395369b6e7f3370b

What version of the source code? The lasted main and 5.0.2 seems to work fine with swagger 0.30.5.
And I really don't see us go back and try to regenerate the swagger yaml for older releases as this would be a lot of work.

from podman.

sandip-bhoi-od avatar sandip-bhoi-od commented on September 26, 2024

The issue was due to the binary version (could be issue with how it was built).

brew install go-swagger

It works fine with the go module installed

go install github.com/go-swagger/go-swagger/cmd/swagger@latest

from podman.

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.