Skip to content

Commit

Permalink
Minor updates to examples (#85)
Browse files Browse the repository at this point in the history
Rename "connect+grpc" to "connect-grpc" and add comments to Petstore protos to describe their origin and explain the package name.
  • Loading branch information
jhump authored Oct 23, 2023
1 parent a12df2f commit 68d95d7
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ clean: ## Delete intermediate build artifacts
test: build ## Run unit tests
$(GO) test -vet=off -race -cover ./...
cd internal/examples/pets && $(GO) test -vet=off -race -cover ./...
cd internal/examples/connect+grpc && $(GO) test -vet=off -race -cover ./...
cd internal/examples/connect-grpc && $(GO) test -vet=off -race -cover ./...

.PHONY: build
build: generate ## Build all packages
Expand Down
File renamed without changes.

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

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

Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@

syntax = "proto3";

// The service defined herein comes from v2 of the Petstore service, which
// is used as an example for Swagger/OpenAPI. The Swagger spec can be found
// here: https://petstore.swagger.io/v2/swagger.json
// A human-friendly HTML view of this API is also available at
// https://petstore.swagger.io.
//
// This file defines only the "pet" service. The spec for this site also
// includes "store" and "user" services which are not supported via these
// RPC definitions.
package io.swagger.petstore.v2;

import "google/api/annotations.proto";
Expand Down

0 comments on commit 68d95d7

Please sign in to comment.