Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rollback and fixes #91

Merged
merged 3 commits into from
Dec 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 1 addition & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,9 @@ generate: clean ## Generate the API Go client and the JSON document for the UI
--spec $(SWAGGER_SPEC) \
--target go \
--default-scheme=https \
--with-flatten=minimal \
--with-flatten=full \
--skip-tag-packages

validate: ## Check that the swagger spec is valid.
go run github.com/go-swagger/go-swagger/cmd/[email protected] validate $(SWAGGER_SPEC)

test: ## Generate with openapitools/openapi-generator-cli
docker run --rm -v $(shell pwd):/local openapitools/openapi-generator-cli generate \
-i /local/swagger.json \
-g go \
-o /local/go2 \
--git-user-id=staffbase \
--git-repo-id=bitrise-api

test2:
go run github.com/deepmap/oapi-codegen/cmd/oapi-codegen@latest -package=examplepkg -generate=types,client,spec -o=go3/example-client.go ./openapi.yaml
106 changes: 3 additions & 103 deletions go/client/operations/app_roles_query_responses.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 9 additions & 5 deletions go/client/operations/app_roles_update_parameters.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading