Comments (9)
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.
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.
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.
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.
ah ok, and you want to use the binaries from master and not the ones from the 0.5 release?
from runtime.
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.
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.
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.
Thanks for your help and the great system!
from runtime.
Related Issues (20)
- Authorization token HOT 1
- Swagger Middleware drops trailing slash and can't find path HOT 3
- Give ClientResponseReaderFunc access to the request?
- Add a public BuildHTTP method HOT 1
- debugLog func must use Logger.Debugf
- Upgrade to YAMLv3 HOT 2
- Unable to set a parameter of type file as optional HOT 3
- Long term plans for current OpenTracing implementation? HOT 5
- No consumer for application/pdf in the Runtime class HOT 1
- the value of request.ContentLength remains 0 on HTTP POST with body HOT 1
- API UI middleware oAuth2 callback not working
- Extract middleware with UI to separate repository HOT 1
- How to get the client response? HOT 5
- CSVProducer returns error 'data type must be byte array'
- Client can not upload empty file HOT 1
- Panic on [email protected]/request.go:99 HOT 1
- Support file upload with application/x-www-form-urlencoded
- Incompatible minimum golang version declared in go.mod HOT 1
- Allow for a spec list in SwaggerUIOpts
- How to disable `try it out` option for the swagger-ui HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from runtime.