GithubHelp home page GithubHelp logo

Comments (9)

casualjim avatar casualjim commented on June 26, 2024

this is a supporting library but the the releases etc will still be through go-swagger/go-swagger/releases

I decomposed the github.com/go-swagger/go-swagger repository into several smaller ones so other people could build stuff on top of go-swagger without having to vendog github.com/go-swagger/go-swagger directly.

This repo kind of ties most of the other ones together and is used as runtime for the generated code etc.

The swagger command will still be in the other repo. Maybe for the openapi v3 spec I'll move it to this organisation.

from runtime.

haroldcarr avatar haroldcarr commented on June 26, 2024

Thanks for the response. I think I understand what you are saying to be answers to QUESTIONS 1 and 2.

If one want to build the system, which repo should be cloned and what command issued from what directory?

from runtime.

casualjim avatar casualjim commented on June 26, 2024

if you want to install HEAD for go-swagger.

go get -u github.com/go-swagger/go-swagger/cmd/swagger

if you want to run tests you can just use go test for the checkout of that repo.

from runtime.

haroldcarr avatar haroldcarr commented on June 26, 2024

Thanks. I apologize for the continued "dumb" questions (I have never used go the language nor the ecosystem). I get:

package github.com/go-swagger/go-swagger/cmd/swagger: cannot download, $GOPATH not set. For more details see: go help gopath

from runtime.

casualjim avatar casualjim commented on June 26, 2024

ah ok, and you want to use the binaries from master and not the ones from the 0.5 release?

from runtime.

haroldcarr avatar haroldcarr commented on June 26, 2024

Correct. All I really need is a binary of validation - but whatever path gets me to build a "master" that includes validation is what I am interested in.

from runtime.

haroldcarr avatar haroldcarr commented on June 26, 2024

Now that I understand the relationship between the go-openapi repo and the go-swagger repo I understand that the instructions in the go-swagger repo (which you pointed out above):

go get -u github.com/go-swagger/go-swagger/cmd/swagger

are what I need, first setting:

export GOPATH=<where ever I want the resulting `bin`, `pkg`, `src` directories created

DONE.

One last QUESTION: How often are the go-swagger and go-openapi repos synced?

from runtime.

casualjim avatar casualjim commented on June 26, 2024

they are synced quite often. I try to update go-swaggers vendor whenever I merge a PR in any of the go-openapi repos

from runtime.

haroldcarr avatar haroldcarr commented on June 26, 2024

Thanks for your help and the great system!

from runtime.

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.