Skip to content

Commit

Permalink
Discovery: client implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
reinkrul committed Dec 11, 2023
1 parent 15f5f3b commit 3e4b409
Show file tree
Hide file tree
Showing 9 changed files with 789 additions and 631 deletions.
1 change: 0 additions & 1 deletion codegen/configs/discovery_v1.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package: v1
generate:
echo-server: true
client: true
models: true
strict-server: true
output-options:
Expand Down
8 changes: 8 additions & 0 deletions codegen/configs/discovery_v1_client.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package: client
generate:
client: true
models: true
output-options:
skip-prune: true
exclude-schemas:
- VerifiablePresentation
11 changes: 11 additions & 0 deletions discovery/api/v1/client/client.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package client

import (
"net/http"
)

func New() ClientInterface {
httpClient := http.DefaultClient
result, _ := NewClientWithResponses("", WithHTTPClient(httpClient))
return result
}
Loading

0 comments on commit 3e4b409

Please sign in to comment.