-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(swagger/oidc): fix swagger and oidc docs (#1159)
* fix(swagger/oidc): fix swagger and oidc docs includes the following changes: - oidc and jwks endpoints don't need auth - proper documentation for JWKSet type - fix swagger doc creation * fix the fix * validate fix * pin to version --------- Co-authored-by: David May <[email protected]> Co-authored-by: Easton Crupper <[email protected]>
- Loading branch information
1 parent
372a430
commit e0c2f7e
Showing
6 changed files
with
16 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,5 +43,5 @@ jobs: | |
- name: validate spec | ||
run: | | ||
sudo make spec-install | ||
make spec-install | ||
make spec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -279,11 +279,10 @@ spec-install: | |
$(if $(shell command -v apt-get 2> /dev/null),,$(error 'apt-get' not found - install jq, sponge, and go-swagger manually)) | ||
@echo | ||
@echo "### Installing utilities (jq and sponge)" | ||
@apt-get update | ||
@apt-get install -y jq moreutils | ||
@echo "### Downloading and installing go-swagger" | ||
@curl -o /usr/local/bin/swagger -L "https://github.com/go-swagger/go-swagger/releases/download/v0.30.2/swagger_linux_amd64" | ||
@chmod +x /usr/local/bin/swagger | ||
@sudo apt-get update | ||
@sudo apt-get install -y jq moreutils | ||
@echo "### Installing go-swagger" | ||
@go install github.com/go-swagger/go-swagger/cmd/[email protected] | ||
|
||
# The `spec-gen` target is intended to create an api-spec | ||
# using go-swagger (https://goswagger.io) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters