Skip to content

Commit

Permalink
feat(openapi): Model catalog API spec
Browse files Browse the repository at this point in the history
Proposed model catalog API spec. Draws heavily from the spec in PR #725.

Signed-off-by: Paul Boyd <[email protected]>
  • Loading branch information
pboyd committed Feb 19, 2025
1 parent 5f62ea2 commit e9157ec
Show file tree
Hide file tree
Showing 26 changed files with 3,374 additions and 62 deletions.
1 change: 1 addition & 0 deletions .openapi-generator-ignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ pkg/openapi/go.sum
internal/server/openapi/api
internal/server/openapi/api/**
internal/server/openapi/.openapi-generator-ignore
internal/server/openapi/api_model_catalog_service_service.go
internal/server/openapi/api_model_registry_service_service.go
internal/server/openapi/README.md
internal/server/openapi/main.go
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,9 @@ bin/protoc-gen-go-grpc:
bin/envtest:
GOBIN=$(PROJECT_BIN) ${GO} install sigs.k8s.io/controller-runtime/tools/[email protected]

bin/goimports:
GOBIN=$(PROJECT_BIN) ${GO} install golang.org/x/tools/cmd/[email protected]

GOLANGCI_LINT ?= ${PROJECT_BIN}/golangci-lint
bin/golangci-lint:
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(PROJECT_BIN) v1.61.0
Expand Down Expand Up @@ -180,7 +183,7 @@ clean/deps:
rm -Rf bin/*

.PHONY: deps
deps: bin/protoc bin/go-enum bin/protoc-gen-go bin/protoc-gen-go-grpc bin/golangci-lint bin/goverter bin/openapi-generator-cli bin/envtest
deps: bin/protoc bin/go-enum bin/protoc-gen-go bin/protoc-gen-go-grpc bin/golangci-lint bin/goverter bin/openapi-generator-cli bin/envtest bin/goimports

.PHONY: vendor
vendor:
Expand Down
Loading

0 comments on commit e9157ec

Please sign in to comment.