diff --git a/apps/disco/main.go b/apps/disco/main.go index 59bc19bc..62fb172f 100644 --- a/apps/disco/main.go +++ b/apps/disco/main.go @@ -23,8 +23,8 @@ import ( "github.com/docopt/docopt-go" "github.com/golang/protobuf/proto" - "github.com/googleapis/gnostic/conversions" - discovery "github.com/googleapis/gnostic/discovery" + "github.com/google/gnostic/conversions" + discovery "github.com/google/gnostic/discovery" ) func main() { diff --git a/apps/parse-linter-output/main.go b/apps/parse-linter-output/main.go index a1c47938..c310f296 100644 --- a/apps/parse-linter-output/main.go +++ b/apps/parse-linter-output/main.go @@ -5,7 +5,7 @@ import ( "fmt" "os" - lint "github.com/googleapis/gnostic/metrics/lint" + lint "github.com/google/gnostic/metrics/lint" ) func main() { diff --git a/apps/petstore-builder/petstore-v2.go b/apps/petstore-builder/petstore-v2.go index 83457fa3..4fc977b6 100644 --- a/apps/petstore-builder/petstore-v2.go +++ b/apps/petstore-builder/petstore-v2.go @@ -15,7 +15,7 @@ package main import ( - v2 "github.com/googleapis/gnostic/openapiv2" + v2 "github.com/google/gnostic/openapiv2" ) func buildDocumentV2() *v2.Document { diff --git a/apps/petstore-builder/petstore-v3.go b/apps/petstore-builder/petstore-v3.go index 240a3435..9042ff95 100644 --- a/apps/petstore-builder/petstore-v3.go +++ b/apps/petstore-builder/petstore-v3.go @@ -15,7 +15,7 @@ package main import ( - v3 "github.com/googleapis/gnostic/openapiv3" + v3 "github.com/google/gnostic/openapiv3" ) func buildDocumentV3() *v3.Document { diff --git a/apps/protoc-gen-openapi/generator/openapi-v3.go b/apps/protoc-gen-openapi/generator/openapi-v3.go index 4211c978..5a81ae63 100644 --- a/apps/protoc-gen-openapi/generator/openapi-v3.go +++ b/apps/protoc-gen-openapi/generator/openapi-v3.go @@ -22,7 +22,7 @@ import ( "sort" "strings" - v3 "github.com/googleapis/gnostic/openapiv3" + v3 "github.com/google/gnostic/openapiv3" "google.golang.org/genproto/googleapis/api/annotations" "google.golang.org/protobuf/compiler/protogen" "google.golang.org/protobuf/proto" diff --git a/apps/protoc-gen-openapi/main.go b/apps/protoc-gen-openapi/main.go index 081a373a..3d16d423 100644 --- a/apps/protoc-gen-openapi/main.go +++ b/apps/protoc-gen-openapi/main.go @@ -16,7 +16,7 @@ package main import ( - "github.com/googleapis/gnostic/apps/protoc-gen-openapi/generator" + "github.com/google/gnostic/apps/protoc-gen-openapi/generator" "google.golang.org/protobuf/compiler/protogen" ) diff --git a/apps/report-messages/main.go b/apps/report-messages/main.go index 74c43f06..84388b3a 100644 --- a/apps/report-messages/main.go +++ b/apps/report-messages/main.go @@ -22,9 +22,9 @@ import ( "os" "github.com/golang/protobuf/proto" - "github.com/googleapis/gnostic/printer" + "github.com/google/gnostic/printer" - plugins "github.com/googleapis/gnostic/plugins" + plugins "github.com/google/gnostic/plugins" ) func readMessagesFromFileWithName(filename string) *plugins.Messages { diff --git a/apps/report/main.go b/apps/report/main.go index c259d843..dce382ee 100644 --- a/apps/report/main.go +++ b/apps/report/main.go @@ -24,9 +24,9 @@ import ( "os" "github.com/golang/protobuf/proto" - "github.com/googleapis/gnostic/printer" + "github.com/google/gnostic/printer" - pb "github.com/googleapis/gnostic/openapiv2" + pb "github.com/google/gnostic/openapiv2" ) func readDocumentFromFileWithName(filename string) (*pb.Document, error) { diff --git a/apps/vocabulary-operations/main.go b/apps/vocabulary-operations/main.go index d050fbb2..5a071489 100644 --- a/apps/vocabulary-operations/main.go +++ b/apps/vocabulary-operations/main.go @@ -23,8 +23,8 @@ import ( "strings" "github.com/golang/protobuf/proto" - metrics "github.com/googleapis/gnostic/metrics" - vocabulary "github.com/googleapis/gnostic/metrics/vocabulary" + metrics "github.com/google/gnostic/metrics" + vocabulary "github.com/google/gnostic/metrics/vocabulary" ) // openVocabularyFiles uses standard input to create a slice of diff --git a/compiler/extensions.go b/compiler/extensions.go index 20848a0a..962cb968 100644 --- a/compiler/extensions.go +++ b/compiler/extensions.go @@ -22,7 +22,7 @@ import ( "github.com/golang/protobuf/proto" "github.com/golang/protobuf/ptypes/any" - extensions "github.com/googleapis/gnostic/extensions" + extensions "github.com/google/gnostic/extensions" yaml "gopkg.in/yaml.v3" ) diff --git a/compiler/helpers.go b/compiler/helpers.go index 48f02f39..3dff9e36 100644 --- a/compiler/helpers.go +++ b/compiler/helpers.go @@ -20,7 +20,7 @@ import ( "sort" "strconv" - "github.com/googleapis/gnostic/jsonschema" + "github.com/google/gnostic/jsonschema" "gopkg.in/yaml.v3" ) diff --git a/conversions/openapiv2.go b/conversions/openapiv2.go index 70365536..71a41978 100644 --- a/conversions/openapiv2.go +++ b/conversions/openapiv2.go @@ -18,8 +18,8 @@ import ( "log" "net/url" - openapi2 "github.com/googleapis/gnostic/openapiv2" - discovery "github.com/googleapis/gnostic/discovery" + openapi2 "github.com/google/gnostic/openapiv2" + discovery "github.com/google/gnostic/discovery" ) func addOpenAPI2SchemaForSchema(d *openapi2.Document, name string, schema *discovery.Schema) { diff --git a/conversions/openapiv3.go b/conversions/openapiv3.go index ab0a7eaf..b710fabb 100644 --- a/conversions/openapiv3.go +++ b/conversions/openapiv3.go @@ -19,8 +19,8 @@ import ( "net/url" "strings" - openapi3 "github.com/googleapis/gnostic/openapiv3" - discovery "github.com/googleapis/gnostic/discovery" + openapi3 "github.com/google/gnostic/openapiv3" + discovery "github.com/google/gnostic/discovery" ) func pathForMethod(path string) string { diff --git a/discovery/discovery.go b/discovery/discovery.go index ad62277c..07543230 100644 --- a/discovery/discovery.go +++ b/discovery/discovery.go @@ -18,7 +18,7 @@ package discovery_v1 import ( "fmt" - "github.com/googleapis/gnostic/compiler" + "github.com/google/gnostic/compiler" "gopkg.in/yaml.v3" "regexp" "strings" diff --git a/discovery/document.go b/discovery/document.go index ab6a5c86..13316d1b 100644 --- a/discovery/document.go +++ b/discovery/document.go @@ -15,7 +15,7 @@ package discovery_v1 import ( - "github.com/googleapis/gnostic/compiler" + "github.com/google/gnostic/compiler" ) // FetchDocumentBytes downloads the bytes of a discovery document from a URL. diff --git a/discovery/list.go b/discovery/list.go index ebe01991..257b67da 100644 --- a/discovery/list.go +++ b/discovery/list.go @@ -19,7 +19,7 @@ import ( "errors" "strings" - "github.com/googleapis/gnostic/compiler" + "github.com/google/gnostic/compiler" ) // APIsListServiceURL is the URL for the Google APIs Discovery Service diff --git a/generate-gnostic/domain.go b/generate-gnostic/domain.go index 1487dec9..cb67b677 100644 --- a/generate-gnostic/domain.go +++ b/generate-gnostic/domain.go @@ -21,7 +21,7 @@ import ( "sort" "strings" - "github.com/googleapis/gnostic/jsonschema" + "github.com/google/gnostic/jsonschema" ) // Domain models a collection of types that is defined by a schema. diff --git a/generate-gnostic/generate-compiler.go b/generate-gnostic/generate-compiler.go index 41723237..997db1a5 100644 --- a/generate-gnostic/generate-compiler.go +++ b/generate-gnostic/generate-compiler.go @@ -20,7 +20,7 @@ import ( "sort" "strings" - "github.com/googleapis/gnostic/printer" + "github.com/google/gnostic/printer" ) // patternNames hands out unique names for a given string. diff --git a/generate-gnostic/generate-extension.go b/generate-gnostic/generate-extension.go index e3b990bb..cb90760e 100644 --- a/generate-gnostic/generate-extension.go +++ b/generate-gnostic/generate-extension.go @@ -26,9 +26,9 @@ import ( "sort" "strings" - "github.com/googleapis/gnostic/compiler" - "github.com/googleapis/gnostic/jsonschema" - "github.com/googleapis/gnostic/printer" + "github.com/google/gnostic/compiler" + "github.com/google/gnostic/jsonschema" + "github.com/google/gnostic/printer" ) var protoOptionsForExtensions = []ProtoOption{ @@ -272,7 +272,7 @@ func generateExtension(schemaFile string, outDir string) error { "fmt", "regexp", "strings", - "github.com/googleapis/gnostic/compiler", + "github.com/google/gnostic/compiler", "gopkg.in/yaml.v3", }) goFilename := path.Join(protoOutDirectory, outFileBaseName+".go") @@ -287,7 +287,7 @@ func generateExtension(schemaFile string, outDir string) error { // TODO: This path is currently fixed to the location of the samples. // Can we make it relative, perhaps with an option or by generating // a go.mod file for the generated extension handler? - outDirRelativeToPackageRoot := "github.com/googleapis/gnostic/extensions/sample/" + outDir + outDirRelativeToPackageRoot := "github.com/google/gnostic/extensions/sample/" + outDir var extensionNameKeys []string for k := range extensionNameToMessageName { @@ -315,8 +315,8 @@ func generateExtension(schemaFile string, outDir string) error { extMainCode := fmt.Sprintf(additionalCompilerCodeWithMain, cases) imports := []string{ "github.com/golang/protobuf/proto", - "github.com/googleapis/gnostic/extensions", - "github.com/googleapis/gnostic/compiler", + "github.com/google/gnostic/extensions", + "github.com/google/gnostic/compiler", "gopkg.in/yaml.v3", outDirRelativeToPackageRoot + "/" + "proto", } diff --git a/generate-gnostic/generate-proto.go b/generate-gnostic/generate-proto.go index 6b56d271..1fe0eb99 100644 --- a/generate-gnostic/generate-proto.go +++ b/generate-gnostic/generate-proto.go @@ -18,7 +18,7 @@ import ( "fmt" "strings" - "github.com/googleapis/gnostic/printer" + "github.com/google/gnostic/printer" ) // ProtoOption represents an option to be added to generated .proto files. diff --git a/generate-gnostic/main.go b/generate-gnostic/main.go index 34062f2e..c198809b 100644 --- a/generate-gnostic/main.go +++ b/generate-gnostic/main.go @@ -28,7 +28,7 @@ import ( "runtime" "strings" - "github.com/googleapis/gnostic/jsonschema" + "github.com/google/gnostic/jsonschema" ) // License is the software license applied to generated code. @@ -193,7 +193,7 @@ func generateOpenAPIModel(version string) error { "gopkg.in/yaml.v3", "strings", "regexp", - "github.com/googleapis/gnostic/compiler", + "github.com/google/gnostic/compiler", } // generate the compiler log.Printf("Generating compiler support code") diff --git a/generate-gnostic/types.go b/generate-gnostic/types.go index 917296cc..df148d70 100644 --- a/generate-gnostic/types.go +++ b/generate-gnostic/types.go @@ -18,7 +18,7 @@ import ( "fmt" "strings" - "github.com/googleapis/gnostic/jsonschema" + "github.com/google/gnostic/jsonschema" ) /// Type Modeling diff --git a/gnostic.go b/gnostic.go index 24a2760c..2de60601 100644 --- a/gnostic.go +++ b/gnostic.go @@ -35,7 +35,7 @@ import ( "fmt" "os" - "github.com/googleapis/gnostic/lib" + "github.com/google/gnostic/lib" ) func main() { diff --git a/gnostic_test.go b/gnostic_test.go index 2dfe628e..4cb1609a 100644 --- a/gnostic_test.go +++ b/gnostic_test.go @@ -22,7 +22,7 @@ import ( "strings" "testing" - "github.com/googleapis/gnostic/lib" + "github.com/google/gnostic/lib" ) func isURL(path string) bool { diff --git a/jsonwriter/writer_test.go b/jsonwriter/writer_test.go index a4e2477a..b714e609 100644 --- a/jsonwriter/writer_test.go +++ b/jsonwriter/writer_test.go @@ -17,8 +17,8 @@ package jsonwriter_test import ( "testing" - "github.com/googleapis/gnostic/compiler" - "github.com/googleapis/gnostic/jsonwriter" + "github.com/google/gnostic/compiler" + "github.com/google/gnostic/jsonwriter" "gopkg.in/yaml.v3" ) diff --git a/lib/gnostic.go b/lib/gnostic.go index 7b642cf9..c33cb444 100644 --- a/lib/gnostic.go +++ b/lib/gnostic.go @@ -29,13 +29,13 @@ import ( "time" "github.com/golang/protobuf/proto" - "github.com/googleapis/gnostic/compiler" - discovery_v1 "github.com/googleapis/gnostic/discovery" - "github.com/googleapis/gnostic/jsonwriter" - openapi_v2 "github.com/googleapis/gnostic/openapiv2" - openapi_v3 "github.com/googleapis/gnostic/openapiv3" - plugins "github.com/googleapis/gnostic/plugins" - surface "github.com/googleapis/gnostic/surface" + "github.com/google/gnostic/compiler" + discovery_v1 "github.com/google/gnostic/discovery" + "github.com/google/gnostic/jsonwriter" + openapi_v2 "github.com/google/gnostic/openapiv2" + openapi_v3 "github.com/google/gnostic/openapiv3" + plugins "github.com/google/gnostic/plugins" + surface "github.com/google/gnostic/surface" "gopkg.in/yaml.v3" ) diff --git a/linters/go/gnostic-lint-descriptions/linter_v2.go b/linters/go/gnostic-lint-descriptions/linter_v2.go index fd7d5da5..3e44f300 100644 --- a/linters/go/gnostic-lint-descriptions/linter_v2.go +++ b/linters/go/gnostic-lint-descriptions/linter_v2.go @@ -14,8 +14,8 @@ package main import ( - openapi "github.com/googleapis/gnostic/openapiv2" - plugins "github.com/googleapis/gnostic/plugins" + openapi "github.com/google/gnostic/openapiv2" + plugins "github.com/google/gnostic/plugins" ) // DocumentLinter contains information collected about an API description. diff --git a/linters/go/gnostic-lint-descriptions/linter_v3.go b/linters/go/gnostic-lint-descriptions/linter_v3.go index 7b9894d1..6f8684c6 100644 --- a/linters/go/gnostic-lint-descriptions/linter_v3.go +++ b/linters/go/gnostic-lint-descriptions/linter_v3.go @@ -15,8 +15,8 @@ package main import ( - openapi "github.com/googleapis/gnostic/openapiv3" - plugins "github.com/googleapis/gnostic/plugins" + openapi "github.com/google/gnostic/openapiv3" + plugins "github.com/google/gnostic/plugins" ) // DocumentLinter contains information collected about an API description. diff --git a/linters/go/gnostic-lint-descriptions/main.go b/linters/go/gnostic-lint-descriptions/main.go index a3416721..3b8a7daf 100644 --- a/linters/go/gnostic-lint-descriptions/main.go +++ b/linters/go/gnostic-lint-descriptions/main.go @@ -22,9 +22,9 @@ package main import ( "github.com/golang/protobuf/proto" - openapiv2 "github.com/googleapis/gnostic/openapiv2" - openapiv3 "github.com/googleapis/gnostic/openapiv3" - plugins "github.com/googleapis/gnostic/plugins" + openapiv2 "github.com/google/gnostic/openapiv2" + openapiv3 "github.com/google/gnostic/openapiv3" + plugins "github.com/google/gnostic/plugins" ) type DocumentLinter interface { diff --git a/linters/go/gnostic-lint-paths/main.go b/linters/go/gnostic-lint-paths/main.go index 81934453..73330ee5 100644 --- a/linters/go/gnostic-lint-paths/main.go +++ b/linters/go/gnostic-lint-paths/main.go @@ -19,9 +19,9 @@ package main import ( "github.com/golang/protobuf/proto" - openapiv2 "github.com/googleapis/gnostic/openapiv2" - openapiv3 "github.com/googleapis/gnostic/openapiv3" - plugins "github.com/googleapis/gnostic/plugins" + openapiv2 "github.com/google/gnostic/openapiv2" + openapiv3 "github.com/google/gnostic/openapiv3" + plugins "github.com/google/gnostic/plugins" ) func checkPathsV2(document *openapiv2.Document, messages []*plugins.Message) []*plugins.Message { diff --git a/metrics/lint/aip-linterv2.go b/metrics/lint/aip-linterv2.go index 31fc8939..ee4b17ef 100644 --- a/metrics/lint/aip-linterv2.go +++ b/metrics/lint/aip-linterv2.go @@ -17,8 +17,8 @@ package linter import ( "fmt" - rules "github.com/googleapis/gnostic/metrics/rules" - pb "github.com/googleapis/gnostic/openapiv2" + rules "github.com/google/gnostic/metrics/rules" + pb "github.com/google/gnostic/openapiv2" ) // fillProtoStructure takes a slice of rules and coverts them to a slice of diff --git a/metrics/lint/aip-linterv3.go b/metrics/lint/aip-linterv3.go index 534aad6a..c2737836 100644 --- a/metrics/lint/aip-linterv3.go +++ b/metrics/lint/aip-linterv3.go @@ -18,8 +18,8 @@ import ( "fmt" "os" - rules "github.com/googleapis/gnostic/metrics/rules" - openapi_v3 "github.com/googleapis/gnostic/openapiv3" + rules "github.com/google/gnostic/metrics/rules" + openapi_v3 "github.com/google/gnostic/openapiv3" ) // processParametersV2 loops over the parameters of component and creates a diff --git a/metrics/vocabulary/difference.go b/metrics/vocabulary/difference.go index 8c2ad490..9745099c 100644 --- a/metrics/vocabulary/difference.go +++ b/metrics/vocabulary/difference.go @@ -15,7 +15,7 @@ package vocabulary import ( - metrics "github.com/googleapis/gnostic/metrics" + metrics "github.com/google/gnostic/metrics" ) // mapDifference finds the difference between two Vocabularies. diff --git a/metrics/vocabulary/discovery.go b/metrics/vocabulary/discovery.go index 7c2145d3..3e8d8032 100644 --- a/metrics/vocabulary/discovery.go +++ b/metrics/vocabulary/discovery.go @@ -15,8 +15,8 @@ package vocabulary import ( - discovery_v1 "github.com/googleapis/gnostic/discovery" - metrics "github.com/googleapis/gnostic/metrics" + discovery_v1 "github.com/google/gnostic/discovery" + metrics "github.com/google/gnostic/metrics" ) func (vocab *Vocabulary) processMethodDiscovery(operation *discovery_v1.Method) { diff --git a/metrics/vocabulary/filterCommon.go b/metrics/vocabulary/filterCommon.go index bcbd1679..39c4698a 100644 --- a/metrics/vocabulary/filterCommon.go +++ b/metrics/vocabulary/filterCommon.go @@ -15,7 +15,7 @@ package vocabulary import ( - metrics "github.com/googleapis/gnostic/metrics" + metrics "github.com/google/gnostic/metrics" ) // FilterCommon implements the difference operation amongst a slice of Vocabularies. diff --git a/metrics/vocabulary/intersection.go b/metrics/vocabulary/intersection.go index d417df82..58b22718 100644 --- a/metrics/vocabulary/intersection.go +++ b/metrics/vocabulary/intersection.go @@ -15,7 +15,7 @@ package vocabulary import ( - metrics "github.com/googleapis/gnostic/metrics" + metrics "github.com/google/gnostic/metrics" ) // mapIntersection finds the intersection between two Vocabularies. diff --git a/metrics/vocabulary/openapiv2.go b/metrics/vocabulary/openapiv2.go index 81f725fd..38875cbc 100644 --- a/metrics/vocabulary/openapiv2.go +++ b/metrics/vocabulary/openapiv2.go @@ -15,8 +15,8 @@ package vocabulary import ( - metrics "github.com/googleapis/gnostic/metrics" - openapi_v2 "github.com/googleapis/gnostic/openapiv2" + metrics "github.com/google/gnostic/metrics" + openapi_v2 "github.com/google/gnostic/openapiv2" ) func (vocab *Vocabulary) processOperationV2(operation *openapi_v2.Operation) { diff --git a/metrics/vocabulary/openapiv3.go b/metrics/vocabulary/openapiv3.go index b7e874fa..ab94df51 100644 --- a/metrics/vocabulary/openapiv3.go +++ b/metrics/vocabulary/openapiv3.go @@ -17,8 +17,8 @@ package vocabulary import ( "sort" - metrics "github.com/googleapis/gnostic/metrics" - openapi_v3 "github.com/googleapis/gnostic/openapiv3" + metrics "github.com/google/gnostic/metrics" + openapi_v3 "github.com/google/gnostic/openapiv3" ) func fillProtoStructures(m map[string]int) []*metrics.WordCount { diff --git a/metrics/vocabulary/union.go b/metrics/vocabulary/union.go index 10a8e718..57d05b8a 100644 --- a/metrics/vocabulary/union.go +++ b/metrics/vocabulary/union.go @@ -15,7 +15,7 @@ package vocabulary import ( - metrics "github.com/googleapis/gnostic/metrics" + metrics "github.com/google/gnostic/metrics" ) // Union implements the union operation between multiple Vocabularies. diff --git a/metrics/vocabulary/version.go b/metrics/vocabulary/version.go index 783a210c..7dd0de55 100644 --- a/metrics/vocabulary/version.go +++ b/metrics/vocabulary/version.go @@ -15,7 +15,7 @@ package vocabulary import ( - metrics "github.com/googleapis/gnostic/metrics" + metrics "github.com/google/gnostic/metrics" ) // fillVersionProto takes a newer and older version of a vocabularies and utilizes the diff --git a/metrics/vocabulary/vocabulary.go b/metrics/vocabulary/vocabulary.go index bb11368b..1ef1faea 100644 --- a/metrics/vocabulary/vocabulary.go +++ b/metrics/vocabulary/vocabulary.go @@ -24,7 +24,7 @@ import ( "sort" "strings" - metrics "github.com/googleapis/gnostic/metrics" + metrics "github.com/google/gnostic/metrics" "google.golang.org/protobuf/proto" ) diff --git a/metrics/vocabulary/vocabulary_test.go b/metrics/vocabulary/vocabulary_test.go index caefcda3..edf1f37f 100644 --- a/metrics/vocabulary/vocabulary_test.go +++ b/metrics/vocabulary/vocabulary_test.go @@ -21,10 +21,10 @@ import ( "testing" "github.com/golang/protobuf/jsonpb" - discovery "github.com/googleapis/gnostic/discovery" - metrics "github.com/googleapis/gnostic/metrics" - openapiv2 "github.com/googleapis/gnostic/openapiv2" - openapiv3 "github.com/googleapis/gnostic/openapiv3" + discovery "github.com/google/gnostic/discovery" + metrics "github.com/google/gnostic/metrics" + openapiv2 "github.com/google/gnostic/openapiv2" + openapiv3 "github.com/google/gnostic/openapiv3" ) func fillTestProtoStructure(words []string, count []int) []*metrics.WordCount { diff --git a/openapiv2/OpenAPIv2.go b/openapiv2/OpenAPIv2.go index 727d7f4a..0a595f9f 100644 --- a/openapiv2/OpenAPIv2.go +++ b/openapiv2/OpenAPIv2.go @@ -18,7 +18,7 @@ package openapi_v2 import ( "fmt" - "github.com/googleapis/gnostic/compiler" + "github.com/google/gnostic/compiler" "gopkg.in/yaml.v3" "regexp" "strings" diff --git a/openapiv2/document.go b/openapiv2/document.go index 56e5966b..c22f03fa 100644 --- a/openapiv2/document.go +++ b/openapiv2/document.go @@ -15,7 +15,7 @@ package openapi_v2 import ( - "github.com/googleapis/gnostic/compiler" + "github.com/google/gnostic/compiler" "gopkg.in/yaml.v3" ) diff --git a/openapiv3/OpenAPIv3.go b/openapiv3/OpenAPIv3.go index 607e33c7..58d63571 100644 --- a/openapiv3/OpenAPIv3.go +++ b/openapiv3/OpenAPIv3.go @@ -18,7 +18,7 @@ package openapi_v3 import ( "fmt" - "github.com/googleapis/gnostic/compiler" + "github.com/google/gnostic/compiler" "gopkg.in/yaml.v3" "regexp" "strings" diff --git a/openapiv3/document.go b/openapiv3/document.go index 999f7fd2..f64e52be 100644 --- a/openapiv3/document.go +++ b/openapiv3/document.go @@ -15,7 +15,7 @@ package openapi_v3 import ( - "github.com/googleapis/gnostic/compiler" + "github.com/google/gnostic/compiler" "gopkg.in/yaml.v3" ) diff --git a/openapiv3/schema-generator/main.go b/openapiv3/schema-generator/main.go index 3ee2ed41..a75002ff 100644 --- a/openapiv3/schema-generator/main.go +++ b/openapiv3/schema-generator/main.go @@ -29,7 +29,7 @@ import ( "unicode" "unicode/utf8" - "github.com/googleapis/gnostic/jsonschema" + "github.com/google/gnostic/jsonschema" ) // convert the first character of a string to lower case diff --git a/plugins/environment.go b/plugins/environment.go index f0ca035b..0a856aa4 100644 --- a/plugins/environment.go +++ b/plugins/environment.go @@ -14,10 +14,10 @@ import ( "github.com/golang/protobuf/proto" "github.com/golang/protobuf/ptypes/any" - openapiv2 "github.com/googleapis/gnostic/openapiv2" - openapiv3 "github.com/googleapis/gnostic/openapiv3" - discovery "github.com/googleapis/gnostic/discovery" - surface "github.com/googleapis/gnostic/surface" + openapiv2 "github.com/google/gnostic/openapiv2" + openapiv3 "github.com/google/gnostic/openapiv3" + discovery "github.com/google/gnostic/discovery" + surface "github.com/google/gnostic/surface" ) // Environment contains the environment of a plugin call. diff --git a/plugins/gnostic-analyze/main.go b/plugins/gnostic-analyze/main.go index 0d4babac..fd4cc174 100644 --- a/plugins/gnostic-analyze/main.go +++ b/plugins/gnostic-analyze/main.go @@ -30,12 +30,12 @@ import ( "path" "strings" - "github.com/googleapis/gnostic/plugins/gnostic-analyze/statistics" + "github.com/google/gnostic/plugins/gnostic-analyze/statistics" "github.com/golang/protobuf/proto" - openapiv2 "github.com/googleapis/gnostic/openapiv2" - openapiv3 "github.com/googleapis/gnostic/openapiv3" - plugins "github.com/googleapis/gnostic/plugins" + openapiv2 "github.com/google/gnostic/openapiv2" + openapiv3 "github.com/google/gnostic/openapiv3" + plugins "github.com/google/gnostic/plugins" ) // Record an error, then serialize and return a response. diff --git a/plugins/gnostic-analyze/statistics/statsv2.go b/plugins/gnostic-analyze/statistics/statsv2.go index b7199308..7f64e81d 100644 --- a/plugins/gnostic-analyze/statistics/statsv2.go +++ b/plugins/gnostic-analyze/statistics/statsv2.go @@ -18,7 +18,7 @@ import ( "fmt" "strings" - openapi "github.com/googleapis/gnostic/openapiv2" + openapi "github.com/google/gnostic/openapiv2" ) // DocumentStatistics contains information collected about an API description. diff --git a/plugins/gnostic-analyze/statistics/statsv3.go b/plugins/gnostic-analyze/statistics/statsv3.go index 7bd4ba0d..e7f8f0c9 100644 --- a/plugins/gnostic-analyze/statistics/statsv3.go +++ b/plugins/gnostic-analyze/statistics/statsv3.go @@ -15,7 +15,7 @@ package statistics import ( - openapi "github.com/googleapis/gnostic/openapiv3" + openapi "github.com/google/gnostic/openapiv3" ) // NewDocumentStatistics builds a new DocumentStatistics object. diff --git a/plugins/gnostic-analyze/summarize/main.go b/plugins/gnostic-analyze/summarize/main.go index c0119ce7..7056ee82 100644 --- a/plugins/gnostic-analyze/summarize/main.go +++ b/plugins/gnostic-analyze/summarize/main.go @@ -24,7 +24,7 @@ import ( "path/filepath" "sort" - "github.com/googleapis/gnostic/plugins/gnostic-analyze/statistics" + "github.com/google/gnostic/plugins/gnostic-analyze/statistics" ) // Results are collected in this global slice. diff --git a/plugins/gnostic-complexity/main.go b/plugins/gnostic-complexity/main.go index d3053c91..1e8543b9 100644 --- a/plugins/gnostic-complexity/main.go +++ b/plugins/gnostic-complexity/main.go @@ -20,10 +20,10 @@ import ( "path/filepath" "github.com/golang/protobuf/proto" - metrics "github.com/googleapis/gnostic/metrics" - openapiv2 "github.com/googleapis/gnostic/openapiv2" - openapiv3 "github.com/googleapis/gnostic/openapiv3" - plugins "github.com/googleapis/gnostic/plugins" + metrics "github.com/google/gnostic/metrics" + openapiv2 "github.com/google/gnostic/openapiv2" + openapiv3 "github.com/google/gnostic/openapiv3" + plugins "github.com/google/gnostic/plugins" ) // This is the main function for the plugin. diff --git a/plugins/gnostic-linter/main.go b/plugins/gnostic-linter/main.go index 68208b9d..826d5508 100644 --- a/plugins/gnostic-linter/main.go +++ b/plugins/gnostic-linter/main.go @@ -19,10 +19,10 @@ import ( "path/filepath" "github.com/golang/protobuf/proto" - lint "github.com/googleapis/gnostic/metrics/lint" - openapiv2 "github.com/googleapis/gnostic/openapiv2" - openapiv3 "github.com/googleapis/gnostic/openapiv3" - plugins "github.com/googleapis/gnostic/plugins" + lint "github.com/google/gnostic/metrics/lint" + openapiv2 "github.com/google/gnostic/openapiv2" + openapiv3 "github.com/google/gnostic/openapiv3" + plugins "github.com/google/gnostic/plugins" ) // Record an error, then serialize and return a response. diff --git a/plugins/gnostic-plugin-request/main.go b/plugins/gnostic-plugin-request/main.go index f85f012c..dd131193 100644 --- a/plugins/gnostic-plugin-request/main.go +++ b/plugins/gnostic-plugin-request/main.go @@ -21,10 +21,10 @@ import ( "github.com/golang/protobuf/jsonpb" "github.com/golang/protobuf/proto" - openapiv2 "github.com/googleapis/gnostic/openapiv2" - openapiv3 "github.com/googleapis/gnostic/openapiv3" - plugins "github.com/googleapis/gnostic/plugins" - surface "github.com/googleapis/gnostic/surface" + openapiv2 "github.com/google/gnostic/openapiv2" + openapiv3 "github.com/google/gnostic/openapiv3" + plugins "github.com/google/gnostic/plugins" + surface "github.com/google/gnostic/surface" ) func main() { diff --git a/plugins/gnostic-process-plugin-response/main.go b/plugins/gnostic-process-plugin-response/main.go index 3332128b..cfaee0a1 100644 --- a/plugins/gnostic-process-plugin-response/main.go +++ b/plugins/gnostic-process-plugin-response/main.go @@ -24,7 +24,7 @@ import ( "os" "github.com/golang/protobuf/proto" - plugins "github.com/googleapis/gnostic/plugins" + plugins "github.com/google/gnostic/plugins" ) func exitIfError(err error) { diff --git a/plugins/gnostic-summary/main.go b/plugins/gnostic-summary/main.go index 9a63a736..d25a27e9 100644 --- a/plugins/gnostic-summary/main.go +++ b/plugins/gnostic-summary/main.go @@ -21,10 +21,10 @@ import ( "path/filepath" "github.com/golang/protobuf/proto" - openapiv2 "github.com/googleapis/gnostic/openapiv2" - openapiv3 "github.com/googleapis/gnostic/openapiv3" - plugins "github.com/googleapis/gnostic/plugins" - "github.com/googleapis/gnostic/printer" + openapiv2 "github.com/google/gnostic/openapiv2" + openapiv3 "github.com/google/gnostic/openapiv3" + plugins "github.com/google/gnostic/plugins" + "github.com/google/gnostic/printer" ) // generate a simple report of an OpenAPI document's contents diff --git a/plugins/gnostic-vocabulary/main.go b/plugins/gnostic-vocabulary/main.go index 18873137..b67c666a 100644 --- a/plugins/gnostic-vocabulary/main.go +++ b/plugins/gnostic-vocabulary/main.go @@ -20,12 +20,12 @@ import ( "path/filepath" "github.com/golang/protobuf/proto" - discovery_v1 "github.com/googleapis/gnostic/discovery" - metrics "github.com/googleapis/gnostic/metrics" - vocabulary "github.com/googleapis/gnostic/metrics/vocabulary" - openapiv2 "github.com/googleapis/gnostic/openapiv2" - openapiv3 "github.com/googleapis/gnostic/openapiv3" - plugins "github.com/googleapis/gnostic/plugins" + discovery_v1 "github.com/google/gnostic/discovery" + metrics "github.com/google/gnostic/metrics" + vocabulary "github.com/google/gnostic/metrics/vocabulary" + openapiv2 "github.com/google/gnostic/openapiv2" + openapiv3 "github.com/google/gnostic/openapiv3" + plugins "github.com/google/gnostic/plugins" ) // Record an error, then serialize and return a response. diff --git a/surface/model_openapiv2.go b/surface/model_openapiv2.go index 772c1e54..547d1b18 100644 --- a/surface/model_openapiv2.go +++ b/surface/model_openapiv2.go @@ -15,8 +15,8 @@ package surface_v1 import ( - openapiv2 "github.com/googleapis/gnostic/openapiv2" - "github.com/googleapis/gnostic/compiler" + openapiv2 "github.com/google/gnostic/openapiv2" + "github.com/google/gnostic/compiler" "log" "strconv" ) diff --git a/surface/model_openapiv3.go b/surface/model_openapiv3.go index 86282028..1e8b0dfa 100644 --- a/surface/model_openapiv3.go +++ b/surface/model_openapiv3.go @@ -15,8 +15,8 @@ package surface_v1 import ( - "github.com/googleapis/gnostic/compiler" - openapiv3 "github.com/googleapis/gnostic/openapiv3" + "github.com/google/gnostic/compiler" + openapiv3 "github.com/google/gnostic/openapiv3" "log" "strings" ) diff --git a/tools/format-schema/main.go b/tools/format-schema/main.go index 1feb7134..9c8245be 100644 --- a/tools/format-schema/main.go +++ b/tools/format-schema/main.go @@ -17,7 +17,7 @@ package main import ( "fmt" - "github.com/googleapis/gnostic/jsonschema" + "github.com/google/gnostic/jsonschema" "os" "path" ) diff --git a/tools/j2y2j/main.go b/tools/j2y2j/main.go index ae8eecb0..b4060978 100644 --- a/tools/j2y2j/main.go +++ b/tools/j2y2j/main.go @@ -21,7 +21,7 @@ import ( "os" "path" - "github.com/googleapis/gnostic/jsonschema" + "github.com/google/gnostic/jsonschema" "gopkg.in/yaml.v3" )