go-swagger-starter's People
Forkers
epequeno-frgo-swagger-starter's Issues
Unable to start server using instructions provided
Starting from these instructions (from the README)
1. Copy this starter into the monorepo
2. Define the API spec in the /swagger folder
3. Run make generate to generate docs and server
4. Implement your endpoint handlers
5. Run a local server with make run_local to test
I copied this repo into a folder, made NO changes to the *.yaml
files in ./swagger
, then tried to run make generate
and got the following error:
$ make generate
Installing swagger-merger
yarn global v1.22.10
[1/4] ๐ Resolving packages...
[2/4] ๐ Fetching packages...
[3/4] ๐ Linking dependencies...
[4/4] ๐จ Building fresh packages...
success Installed "[email protected]" with binaries:
- swagger-merger
โจ Done in 1.90s.
Merging swagger specification files
Running validate_swagger
make: swagger: No such file or directory
make: *** [validate_swagger] Error 1
validate_swagger
expected the docs_gen
folder to exist but it doesn't seem like that was really a problem, just noting that maybe the repo should include that empty dir so the makefile doesn't error on this step.
But running the next step is where I'm getting an error I'm not sure how to handle
$ make run_local
Error from server (Forbidden): secrets "rsfilter-resource-server" is forbidden: User "[email protected]" cannot get resource "secrets" in API group "" in the namespace "fr-platform": requires one of ["container.secrets.get"] permission(s).
stat ./swagger_gen/cmd/main.go: no such file or directory
make: *** [run_local] Error 1
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.