Diff of the two buildlogs: -- --- b1/build.log 2024-12-29 07:55:24.268952866 +0000 +++ b2/build.log 2024-12-29 07:56:55.520781804 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Dec 28 19:53:34 -12 2024 -I: pbuilder-time-stamp: 1735458814 +I: Current time: Sun Feb 1 04:18:26 +14 2026 +I: pbuilder-time-stamp: 1769869106 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -24,52 +24,84 @@ dpkg-source: info: applying 000-fix-32bit-ftbfs.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2274176/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2161286/tmp/hooks/D01_modify_environment starting +debug: Running on codethink03-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jan 31 14:18 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/2161286/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2161286/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='62585348b3f049879d694624c94a7234' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='2274176' - PS1='# ' - PS2='> ' + INVOCATION_ID=e5095f97bbec410a8d4f98817298eb3e + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=2161286 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.So4fg8te/pbuilderrc_iQaG --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.So4fg8te/b1 --logfile b1/build.log golang-github-grpc-ecosystem-grpc-gateway_2.20.0-2.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.So4fg8te/pbuilderrc_uPK1 --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.So4fg8te/b2 --logfile b2/build.log golang-github-grpc-ecosystem-grpc-gateway_2.20.0-2.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink02-arm64 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2274176/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2161286/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -201,7 +233,7 @@ Get: 74 http://deb.debian.org/debian unstable/main arm64 golang-google-genproto-dev all 0.0~git20210726.e7812ac-4 [5301 kB] Get: 75 http://deb.debian.org/debian unstable/main arm64 golang-github-google-cel-go-dev all 0.18.2+ds-5 [400 kB] Get: 76 http://deb.debian.org/debian unstable/main arm64 golang-github-rogpeppe-fastuuid-dev all 0.0~git20150106.0.6724a57-2.1 [4292 B] -Fetched 86.0 MB in 0s (239 MB/s) +Fetched 86.0 MB in 0s (246 MB/s) Preconfiguring packages ... Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19975 files and directories currently installed.) @@ -520,7 +552,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/golang-github-grpc-ecosystem-grpc-gateway-2.20.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../golang-github-grpc-ecosystem-grpc-gateway_2.20.0-2_source.changes +I: user script /srv/workspace/pbuilder/2161286/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/2161286/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/golang-github-grpc-ecosystem-grpc-gateway-2.20.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../golang-github-grpc-ecosystem-grpc-gateway_2.20.0-2_source.changes dpkg-buildpackage: info: source package golang-github-grpc-ecosystem-grpc-gateway dpkg-buildpackage: info: source version 2.20.0-2 dpkg-buildpackage: info: source distribution unstable @@ -539,56 +575,56 @@ dh_auto_configure -O--buildsystem=golang dh_auto_build -O--buildsystem=golang cd obj-aarch64-linux-gnu && go install -trimpath -v -p 12 github.com/grpc-ecosystem/grpc-gateway/internal/casing github.com/grpc-ecosystem/grpc-gateway/internal/codegenerator github.com/grpc-ecosystem/grpc-gateway/internal/descriptor github.com/grpc-ecosystem/grpc-gateway/internal/descriptor/apiconfig github.com/grpc-ecosystem/grpc-gateway/internal/descriptor/openapiconfig github.com/grpc-ecosystem/grpc-gateway/internal/generator github.com/grpc-ecosystem/grpc-gateway/internal/httprule github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/internal/gengateway github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2 github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/internal/genopenapi github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/options github.com/grpc-ecosystem/grpc-gateway/runtime github.com/grpc-ecosystem/grpc-gateway/runtime/internal/examplepb github.com/grpc-ecosystem/grpc-gateway/utilities -internal/goexperiment -internal/byteorder +internal/godebugs +internal/race internal/profilerecord internal/unsafeheader -internal/goos internal/coverage/rtcov internal/goarch -internal/godebugs -internal/race +internal/byteorder +internal/goos +internal/goexperiment +internal/runtime/syscall +internal/cpu sync/atomic -runtime/internal/math unicode/utf8 cmp math/bits -internal/runtime/syscall internal/asan -internal/cpu internal/itoa -internal/chacha8rand -runtime/internal/sys internal/msan internal/abi +runtime/internal/math +runtime/internal/sys +internal/chacha8rand unicode internal/gover internal/goversion google.golang.org/protobuf/internal/flags unicode/utf16 -google.golang.org/protobuf/internal/set -math encoding log/internal internal/nettrace google.golang.org/grpc/serviceconfig container/list +google.golang.org/protobuf/internal/set +math crypto/internal/alias crypto/subtle crypto/internal/boring/sig vendor/golang.org/x/crypto/cryptobyte/asn1 -vendor/golang.org/x/crypto/internal/alias -internal/bytealg internal/runtime/atomic -internal/runtime/exithook +internal/bytealg +vendor/golang.org/x/crypto/internal/alias internal/stringslite +internal/runtime/exithook runtime internal/reflectlite -sync iter internal/weak -slices +sync maps +slices internal/bisect internal/testlog google.golang.org/protobuf/internal/pragma @@ -596,165 +632,165 @@ runtime/cgo errors sort -internal/godebug internal/oserror -io +internal/godebug path -strconv vendor/golang.org/x/net/dns/dnsmessage math/rand/v2 +io +strconv +google.golang.org/grpc/internal/buffer +strings crypto/internal/edwards25519/field crypto/internal/nistec/fiat syscall -google.golang.org/grpc/internal/buffer -strings -bytes -container/heap -hash golang.org/x/text/internal/tag +container/heap math/rand -reflect -internal/types/errors +hash +bytes hash/fnv internal/concurrent hash/crc32 +internal/types/errors +reflect crypto -crypto/internal/randutil -golang.org/x/text/transform -unique -crypto/cipher -bufio go/build/constraint go/version regexp/syntax +unique html +crypto/internal/randutil crypto/internal/edwards25519 -net/netip crypto/md5 crypto/rc4 +net/http/internal/ascii +google.golang.org/grpc/internal/grpcrand +bufio +golang.org/x/text/transform +crypto/cipher +vendor/golang.org/x/text/transform +net/netip crypto/internal/boring crypto/des crypto/aes crypto/sha512 crypto/hmac -crypto/sha1 crypto/sha256 -vendor/golang.org/x/text/transform +crypto/sha1 +vendor/golang.org/x/crypto/hkdf +regexp time internal/syscall/unix internal/syscall/execenv -vendor/golang.org/x/crypto/hkdf -net/http/internal/ascii -google.golang.org/grpc/internal/grpcrand -regexp io/fs -internal/poll -google.golang.org/grpc/keepalive context google.golang.org/grpc/backoff -google.golang.org/grpc/internal/backoff -google.golang.org/grpc/internal/grpcsync -internal/filepathlite -embed -google.golang.org/protobuf/internal/editiondefaults -crypto/internal/nistec -os +google.golang.org/grpc/keepalive +internal/poll internal/fmtsort encoding/binary -crypto/ecdh +internal/filepathlite +embed +google.golang.org/grpc/internal/backoff +google.golang.org/grpc/internal/grpcsync encoding/base64 -golang.org/x/sys/unix vendor/golang.org/x/crypto/chacha20 vendor/golang.org/x/crypto/internal/poly1305 +golang.org/x/sys/unix +google.golang.org/protobuf/internal/editiondefaults +crypto/internal/nistec +os encoding/pem -path/filepath -fmt +vendor/golang.org/x/crypto/chacha20poly1305 +crypto/ecdh google.golang.org/protobuf/internal/detrand io/ioutil -vendor/golang.org/x/sys/cpu +path/filepath +fmt google.golang.org/grpc/internal/envconfig -vendor/golang.org/x/crypto/chacha20poly1305 -github.com/grpc-ecosystem/grpc-gateway/internal/casing -vendor/golang.org/x/crypto/sha3 +vendor/golang.org/x/sys/cpu net +vendor/golang.org/x/crypto/sha3 +github.com/grpc-ecosystem/grpc-gateway/internal/casing go/token -go/doc/comment text/tabwriter -math/big +google.golang.org/protobuf/internal/version flag -internal/buildcfg google.golang.org/protobuf/internal/errors -compress/flate encoding/json -google.golang.org/protobuf/internal/version +internal/buildcfg +go/doc/comment +compress/flate +math/big golang.org/x/text/internal/language google.golang.org/protobuf/encoding/protowire golang.org/x/text/unicode/norm +google.golang.org/protobuf/reflect/protoreflect go/scanner google.golang.org/grpc/internal/grpclog -google.golang.org/protobuf/reflect/protoreflect log -go/ast +gopkg.in/yaml.v3 github.com/grpc-ecosystem/grpc-gateway/utilities +go/ast +net/url compress/gzip -gopkg.in/yaml.v3 github.com/grpc-ecosystem/grpc-gateway/internal/httprule -net/url text/template/parse golang.org/x/net/internal/timeseries golang.org/x/text/internal/language/compact +encoding/hex +vendor/golang.org/x/text/unicode/bidi +vendor/golang.org/x/text/unicode/norm google.golang.org/protobuf/internal/encoding/messageset google.golang.org/protobuf/internal/strs google.golang.org/protobuf/internal/genid google.golang.org/protobuf/internal/order -google.golang.org/protobuf/reflect/protoregistry google.golang.org/protobuf/internal/encoding/text +google.golang.org/protobuf/reflect/protoregistry google.golang.org/protobuf/runtime/protoiface google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/internal/descopts google.golang.org/protobuf/internal/encoding/json golang.org/x/text/language google.golang.org/grpc/grpclog -text/template -encoding/hex -google.golang.org/protobuf/internal/encoding/defval go/internal/typeparams go/printer -google.golang.org/protobuf/proto -vendor/golang.org/x/text/unicode/bidi +go/constant go/parser -vendor/golang.org/x/text/unicode/norm -vendor/golang.org/x/net/http2/hpack +google.golang.org/protobuf/internal/encoding/defval +google.golang.org/protobuf/proto +text/template google.golang.org/grpc/connectivity -go/constant crypto/rand crypto/elliptic crypto/internal/bigmod -golang.org/x/text/internal -golang.org/x/text/cases crypto/internal/boring/bbig encoding/asn1 crypto/ed25519 +golang.org/x/text/internal crypto/internal/hpke -google.golang.org/protobuf/encoding/prototext -google.golang.org/protobuf/internal/filedesc +golang.org/x/text/cases crypto/internal/mlkem768 -crypto/rsa -html/template crypto/dsa -go/types vendor/golang.org/x/text/secure/bidirule +google.golang.org/protobuf/encoding/prototext +google.golang.org/protobuf/internal/filedesc +crypto/rsa +vendor/golang.org/x/net/http2/hpack +vendor/golang.org/x/net/idna mime mime/quotedprintable net/http/internal +go/types go/format +vendor/golang.org/x/crypto/cryptobyte +html/template +crypto/x509/pkix google.golang.org/grpc/attributes google.golang.org/grpc/internal/idle golang.org/x/text/unicode/bidi golang.org/x/net/http2/hpack -vendor/golang.org/x/crypto/cryptobyte -crypto/x509/pkix -vendor/golang.org/x/net/idna crypto/ecdsa golang.org/x/text/secure/bidirule golang.org/x/net/idna @@ -762,49 +798,49 @@ google.golang.org/protobuf/encoding/protojson google.golang.org/protobuf/internal/impl google.golang.org/grpc/internal -crypto/x509 net/textproto vendor/golang.org/x/net/http/httpproxy google.golang.org/grpc/internal/syscall google.golang.org/grpc/internal/resolver/dns/internal +crypto/x509 google.golang.org/grpc/codes google.golang.org/grpc/metadata vendor/golang.org/x/net/http/httpguts mime/multipart golang.org/x/net/http/httpguts -google.golang.org/protobuf/internal/filetype -google.golang.org/grpc/internal/grpcutil google.golang.org/grpc/internal/balancerload google.golang.org/grpc/stats +google.golang.org/grpc/internal/grpcutil google.golang.org/grpc/tap google.golang.org/grpc/encoding +google.golang.org/protobuf/internal/filetype google.golang.org/protobuf/runtime/protoimpl -google.golang.org/protobuf/types/descriptorpb -google.golang.org/protobuf/types/known/anypb google.golang.org/protobuf/types/dynamicpb +google.golang.org/protobuf/types/descriptorpb google.golang.org/protobuf/protoadapt -google.golang.org/protobuf/types/known/timestamppb google.golang.org/protobuf/types/known/fieldmaskpb -google.golang.org/protobuf/types/known/durationpb +google.golang.org/protobuf/types/known/structpb google.golang.org/protobuf/types/known/emptypb +google.golang.org/protobuf/types/known/durationpb +google.golang.org/protobuf/types/known/anypb +google.golang.org/protobuf/types/known/timestamppb google.golang.org/protobuf/types/known/wrapperspb -google.golang.org/protobuf/types/known/structpb -github.com/golang/protobuf/ptypes/duration google.golang.org/grpc/encoding/proto google.golang.org/grpc/internal/pretty github.com/golang/protobuf/ptypes/timestamp google.golang.org/genproto/googleapis/rpc/status google.golang.org/genproto/googleapis/api/httpbody -google.golang.org/grpc/binarylog/grpc_binarylog_v1 +github.com/golang/protobuf/ptypes/duration google.golang.org/grpc/internal/status +google.golang.org/grpc/binarylog/grpc_binarylog_v1 google.golang.org/grpc/status -google.golang.org/grpc/internal/binarylog crypto/tls +google.golang.org/grpc/internal/binarylog google.golang.org/protobuf/types/gofeaturespb google.golang.org/protobuf/types/pluginpb google.golang.org/genproto/googleapis/api/annotations -github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/options google.golang.org/genproto/googleapis/api/visibility +github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/options google.golang.org/protobuf/reflect/protodesc github.com/grpc-ecosystem/grpc-gateway/internal/descriptor/apiconfig github.com/grpc-ecosystem/grpc-gateway/internal/descriptor/openapiconfig @@ -812,24 +848,23 @@ github.com/grpc-ecosystem/grpc-gateway/internal/codegenerator github.com/grpc-ecosystem/grpc-gateway/internal/descriptor github.com/grpc-ecosystem/grpc-gateway/internal/generator -github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/internal/gengateway -github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/internal/genopenapi -github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway net/http/httptrace google.golang.org/grpc/internal/credentials -google.golang.org/grpc/credentials +github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/internal/gengateway +github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/internal/genopenapi net/http -google.golang.org/grpc/internal/channelz -google.golang.org/grpc/resolver +google.golang.org/grpc/credentials google.golang.org/grpc/credentials/insecure google.golang.org/grpc/peer +google.golang.org/grpc/resolver +google.golang.org/grpc/internal/channelz +github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway google.golang.org/grpc/internal/metadata google.golang.org/grpc/internal/resolver/passthrough google.golang.org/grpc/internal/transport/networktype google.golang.org/grpc/balancer/grpclb/state google.golang.org/grpc/internal/resolver/unix google.golang.org/grpc/internal/resolver/dns -github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2 google.golang.org/grpc/resolver/dns google.golang.org/grpc/channelz google.golang.org/grpc/balancer @@ -838,9 +873,10 @@ google.golang.org/grpc/internal/resolver google.golang.org/grpc/balancer/roundrobin google.golang.org/grpc/internal/balancer/gracefulswitch +github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2 golang.org/x/net/trace -golang.org/x/net/http2 net/http/httputil +golang.org/x/net/http2 google.golang.org/grpc/internal/transport google.golang.org/grpc google.golang.org/grpc/health/grpc_health_v1 @@ -861,7 +897,7 @@ --- PASS: TestCamelIdentifier/snake_case_identifier_with_digit_and_package (0.00s) --- PASS: TestCamelIdentifier/snake_case_identifier_with_digit_and_multiple_dots (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/internal/casing 0.035s +ok github.com/grpc-ecosystem/grpc-gateway/internal/casing 0.004s === RUN TestParseRequest === RUN TestParseRequest/Empty_input_should_produce_empty_output === RUN TestParseRequest/Invalid_reader_should_produce_error @@ -871,7 +907,7 @@ --- PASS: TestParseRequest/Invalid_reader_should_produce_error (0.00s) --- PASS: TestParseRequest/Invalid_proto_message_should_produce_error (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/internal/codegenerator 0.028s +ok github.com/grpc-ecosystem/grpc-gateway/internal/codegenerator 0.012s ? github.com/grpc-ecosystem/grpc-gateway/internal/descriptor/apiconfig [no test files] ? github.com/grpc-ecosystem/grpc-gateway/internal/descriptor/openapiconfig [no test files] ? github.com/grpc-ecosystem/grpc-gateway/internal/generator [no test files] @@ -980,7 +1016,7 @@ === RUN TestGoType --- PASS: TestGoType (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/internal/descriptor 0.037s +ok github.com/grpc-ecosystem/grpc-gateway/internal/descriptor 0.019s === RUN TestCompile --- PASS: TestCompile (0.00s) === RUN TestTokenize @@ -996,13 +1032,13 @@ === RUN TestTemplateStringer --- PASS: TestTemplateStringer (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/internal/httprule 0.035s +ok github.com/grpc-ecosystem/grpc-gateway/internal/httprule 0.007s === RUN TestGenerator_Generate --- PASS: TestGenerator_Generate (0.00s) === RUN TestApplyTemplateHeader --- PASS: TestApplyTemplateHeader (0.00s) === RUN TestApplyTemplateRequestWithoutClientStreaming ---- PASS: TestApplyTemplateRequestWithoutClientStreaming (0.01s) +--- PASS: TestApplyTemplateRequestWithoutClientStreaming (0.00s) === RUN TestApplyTemplateRequestWithClientStreaming --- PASS: TestApplyTemplateRequestWithClientStreaming (0.00s) === RUN TestApplyTemplateInProcess @@ -1016,7 +1052,7 @@ === RUN TestDuplicatePathsInDifferentService --- PASS: TestDuplicatePathsInDifferentService (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/internal/gengateway 0.049s +ok github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/internal/gengateway 0.028s === RUN TestParseReqParam === RUN TestParseReqParam/Test_0 === RUN TestParseReqParam/Test_1 @@ -1046,7 +1082,7 @@ --- PASS: TestParseReqParam/Test_11 (0.00s) --- PASS: TestParseReqParam/Test_12 (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2 0.032s +ok github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2 0.013s ? github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/options [no test files] ? github.com/grpc-ecosystem/grpc-gateway/runtime/internal/examplepb [no test files] === RUN TestCycle @@ -1086,7 +1122,7 @@ === RUN TestMessageToQueryParametersNoRecursive --- PASS: TestMessageToQueryParametersNoRecursive (0.00s) === RUN TestMessageToQueryParametersRecursive ---- PASS: TestMessageToQueryParametersRecursive (0.05s) +--- PASS: TestMessageToQueryParametersRecursive (0.06s) === RUN TestMessageToQueryParametersWithJsonName --- PASS: TestMessageToQueryParametersWithJsonName (0.00s) === RUN TestMessageToQueryParametersWellKnownTypes @@ -1238,28 +1274,28 @@ --- PASS: TestMessageOptionsWithGoTemplate/registered_OpenAPIOption (0.00s) --- PASS: TestMessageOptionsWithGoTemplate/registered_OpenAPIOption_with_go_template_args (0.00s) === RUN TestTagsWithGoTemplate -2024/12/29 07:55:01 ERROR: no message found: Status +2026/01/31 14:19:31 ERROR: no message found: Status --- PASS: TestTagsWithGoTemplate (0.00s) === RUN TestTemplateWithoutErrorDefinition -2024/12/29 07:55:01 ERROR: no message found: Status +2026/01/31 14:19:31 ERROR: no message found: Status --- PASS: TestTemplateWithoutErrorDefinition (0.00s) === RUN TestSingleServiceTemplateWithDuplicateHttp1Operations -2024/12/29 07:55:01 ERROR: no message found: Status +2026/01/31 14:19:31 ERROR: no message found: Status --- PASS: TestSingleServiceTemplateWithDuplicateHttp1Operations (0.00s) === RUN TestSingleServiceTemplateWithDuplicateInAllSupportedHttp1Operations -2024/12/29 07:55:01 ERROR: no message found: Status -2024/12/29 07:55:01 ERROR: no message found: Status -2024/12/29 07:55:01 ERROR: no message found: Status -2024/12/29 07:55:01 ERROR: no message found: Status -2024/12/29 07:55:01 ERROR: no message found: Status -2024/12/29 07:55:01 ERROR: no message found: Status -2024/12/29 07:55:01 ERROR: no message found: Status +2026/01/31 14:19:31 ERROR: no message found: Status +2026/01/31 14:19:31 ERROR: no message found: Status +2026/01/31 14:19:31 ERROR: no message found: Status +2026/01/31 14:19:31 ERROR: no message found: Status +2026/01/31 14:19:31 ERROR: no message found: Status +2026/01/31 14:19:31 ERROR: no message found: Status +2026/01/31 14:19:31 ERROR: no message found: Status --- PASS: TestSingleServiceTemplateWithDuplicateInAllSupportedHttp1Operations (0.00s) === RUN TestSingleServiceTemplateWithDuplicateHttp1UnsupportedOperations -2024/12/29 07:55:01 ERROR: no message found: Status +2026/01/31 14:19:31 ERROR: no message found: Status --- PASS: TestSingleServiceTemplateWithDuplicateHttp1UnsupportedOperations (0.00s) === RUN TestTemplateWithDuplicateHttp1Operations -2024/12/29 07:55:01 ERROR: no message found: Status +2026/01/31 14:19:31 ERROR: no message found: Status --- PASS: TestTemplateWithDuplicateHttp1Operations (0.00s) === RUN Test_getReservedJsonName === RUN Test_getReservedJsonName/test_case_1:_single_dot_use_case @@ -1272,59 +1308,59 @@ --- PASS: Test_getReservedJsonName/test_case_3:_double_dot_use_case (0.00s) --- PASS: Test_getReservedJsonName/test_case_4:_double_dot_use_case_with_a_not_existed_field (0.00s) === RUN TestParseIncompleteSecurityRequirement -2024/12/29 07:55:01 ERROR: no message found: Status +2026/01/31 14:19:31 ERROR: no message found: Status --- PASS: TestParseIncompleteSecurityRequirement (0.00s) === RUN TestSubPathParams --- PASS: TestSubPathParams (0.00s) === RUN TestRenderServicesParameterDescriptionNoFieldBody -2024/12/29 07:55:01 ERROR: no message found: Status +2026/01/31 14:19:31 ERROR: no message found: Status --- PASS: TestRenderServicesParameterDescriptionNoFieldBody (0.00s) === RUN TestRenderServicesWithBodyFieldNameInCamelCase -2024/12/29 07:55:01 ERROR: no message found: Status +2026/01/31 14:19:31 ERROR: no message found: Status --- PASS: TestRenderServicesWithBodyFieldNameInCamelCase (0.00s) === RUN TestRenderServicesWithBodyFieldHasFieldMask -2024/12/29 07:55:01 ERROR: no message found: Status +2026/01/31 14:19:31 ERROR: no message found: Status --- PASS: TestRenderServicesWithBodyFieldHasFieldMask (0.00s) === RUN TestRenderServicesWithColonInPath -2024/12/29 07:55:01 ERROR: no message found: Status +2026/01/31 14:19:31 ERROR: no message found: Status --- PASS: TestRenderServicesWithColonInPath (0.00s) === RUN TestRenderServicesWithDoubleColonInPath -2024/12/29 07:55:01 ERROR: no message found: Status +2026/01/31 14:19:31 ERROR: no message found: Status --- PASS: TestRenderServicesWithDoubleColonInPath (0.00s) === RUN TestRenderServicesWithColonLastInPath -2024/12/29 07:55:01 ERROR: no message found: Status +2026/01/31 14:19:31 ERROR: no message found: Status --- PASS: TestRenderServicesWithColonLastInPath (0.00s) === RUN TestRenderServicesWithColonInSegment -2024/12/29 07:55:01 ERROR: no message found: Status +2026/01/31 14:19:31 ERROR: no message found: Status --- PASS: TestRenderServicesWithColonInSegment (0.00s) === RUN TestRenderServiceWithHeaderParameters -=== RUN TestRenderServiceWithHeaderParameters/type_string_with_format -2024/12/29 07:55:01 ERROR: no message found: Status === RUN TestRenderServiceWithHeaderParameters/type_integer -2024/12/29 07:55:01 ERROR: no message found: Status +2026/01/31 14:19:31 ERROR: no message found: Status === RUN TestRenderServiceWithHeaderParameters/type_number -2024/12/29 07:55:01 ERROR: no message found: Status +2026/01/31 14:19:31 ERROR: no message found: Status === RUN TestRenderServiceWithHeaderParameters/type_boolean -2024/12/29 07:55:01 ERROR: no message found: Status +2026/01/31 14:19:31 ERROR: no message found: Status === RUN TestRenderServiceWithHeaderParameters/header_required -2024/12/29 07:55:01 ERROR: no message found: Status +2026/01/31 14:19:31 ERROR: no message found: Status === RUN TestRenderServiceWithHeaderParameters/type_string -2024/12/29 07:55:01 ERROR: no message found: Status +2026/01/31 14:19:31 ERROR: no message found: Status +=== RUN TestRenderServiceWithHeaderParameters/type_string_with_format +2026/01/31 14:19:31 ERROR: no message found: Status --- PASS: TestRenderServiceWithHeaderParameters (0.00s) - --- PASS: TestRenderServiceWithHeaderParameters/type_string_with_format (0.00s) --- PASS: TestRenderServiceWithHeaderParameters/type_integer (0.00s) --- PASS: TestRenderServiceWithHeaderParameters/type_number (0.00s) --- PASS: TestRenderServiceWithHeaderParameters/type_boolean (0.00s) --- PASS: TestRenderServiceWithHeaderParameters/header_required (0.00s) --- PASS: TestRenderServiceWithHeaderParameters/type_string (0.00s) + --- PASS: TestRenderServiceWithHeaderParameters/type_string_with_format (0.00s) === RUN TestRenderServicesOpenapiPathsOrderPreserved -2024/12/29 07:55:01 ERROR: no message found: Status +2026/01/31 14:19:31 ERROR: no message found: Status --- PASS: TestRenderServicesOpenapiPathsOrderPreserved (0.00s) === RUN TestRenderServicesOpenapiPathsOrderPreservedMultipleServices -2024/12/29 07:55:01 ERROR: no message found: Status +2026/01/31 14:19:31 ERROR: no message found: Status --- PASS: TestRenderServicesOpenapiPathsOrderPreservedMultipleServices (0.00s) === RUN TestRenderServicesOpenapiPathsOrderPreservedAdditionalBindings -2024/12/29 07:55:01 ERROR: no message found: Status +2026/01/31 14:19:31 ERROR: no message found: Status --- PASS: TestRenderServicesOpenapiPathsOrderPreservedAdditionalBindings (0.00s) === RUN TestArrayMessageItemsType --- PASS: TestArrayMessageItemsType (0.00s) @@ -1377,7 +1413,7 @@ --- PASS: TestMergeTags/Merge_external_docs (0.00s) --- PASS: TestMergeTags/Merge_extensions (0.00s) === RUN TestApiVisibilityOption -2024/12/29 07:55:01 ERROR: no message found: Status +2026/01/31 14:19:31 ERROR: no message found: Status --- PASS: TestApiVisibilityOption (0.00s) === RUN TestRawExample === PAUSE TestRawExample @@ -1394,7 +1430,7 @@ === RUN TestGenerateYAML === PAUSE TestGenerateYAML === RUN TestGeneratedYAMLIndent -2024/12/29 07:55:01 ERROR: no message found: Status +2026/01/31 14:19:31 ERROR: no message found: Status --- PASS: TestGeneratedYAMLIndent (0.00s) === RUN TestGenerateRPCOrderPreserved === PAUSE TestGenerateRPCOrderPreserved @@ -1421,60 +1457,11 @@ === RUN TestFindExpectedPaths === PAUSE TestFindExpectedPaths === CONT TestRawExample +=== CONT TestGenerateRPCOrderNotPreservedAdditionalBindings === RUN TestRawExample/1 -=== PAUSE TestRawExample/1 === CONT TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices -=== RUN TestRawExample/"1" -=== PAUSE TestRawExample/"1" -=== CONT TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices -=== CONT TestGenerateRPCOrderNotPreservedAdditionalBindings === CONT TestGenerateRPCOneOfFieldBodyAdditionalBindings -=== RUN TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json -=== CONT TestGenerateRPCOrderPreservedAdditionalBindings -=== RUN TestGenerateRPCOrderNotPreservedAdditionalBindings/json -=== PAUSE TestGenerateRPCOrderNotPreservedAdditionalBindings/json -=== CONT TestGenerateRPCOrderNotPreservedMergeFiles -=== RUN TestGenerateRPCOneOfFieldBodyAdditionalBindings/json -=== CONT TestGenerateRPCOrderPreservedMergeFiles -=== PAUSE TestGenerateRPCOneOfFieldBodyAdditionalBindings/json -=== CONT TestGenerateRPCOrderNotPreservedMultipleServices -=== CONT TestGenerateRPCOrderPreservedMultipleServices -=== CONT TestGenerateRPCOrderNotPreserved -=== CONT TestGenerateRPCOrderPreserved -=== RUN TestRawExample/{"hello":"worldr"} -=== RUN TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json -=== PAUSE TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json -=== RUN TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml -=== RUN TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml -=== PAUSE TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml -=== RUN TestGenerateRPCOrderPreservedAdditionalBindings/json -=== PAUSE TestGenerateRPCOrderPreservedAdditionalBindings/json -=== RUN TestGenerateRPCOrderPreservedAdditionalBindings/yaml -=== RUN TestGenerateRPCOrderNotPreservedMergeFiles/json -=== PAUSE TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json -=== PAUSE TestGenerateRPCOrderPreservedAdditionalBindings/yaml -=== CONT TestGenerateExtension -=== RUN TestGenerateRPCOrderPreservedMultipleServices/json -=== PAUSE TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml -=== PAUSE TestGenerateRPCOrderNotPreservedMergeFiles/json -=== RUN TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml -=== PAUSE TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml -=== RUN TestGenerateRPCOrderNotPreserved/json -=== PAUSE TestGenerateRPCOrderNotPreserved/json -=== RUN TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml -=== RUN TestGenerateRPCOrderNotPreserved/yaml -=== PAUSE TestGenerateRPCOrderNotPreserved/yaml -=== PAUSE TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml -=== CONT TestFormatValidate -=== RUN TestGenerateRPCOrderPreservedMergeFiles/json -=== RUN TestFormatValidate/json -=== RUN TestGenerateExtension/json -=== PAUSE TestGenerateRPCOrderPreservedMergeFiles/json -=== PAUSE TestGenerateExtension/json -=== RUN TestGenerateExtension/yaml -=== RUN TestGenerateRPCOrderPreservedMergeFiles/yaml -=== PAUSE TestGenerateRPCOrderPreservedMergeFiles/yaml -=== CONT TestGenerate_YAML +=== CONT TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices === CONT TestFindExpectedPaths === RUN TestFindExpectedPaths/One_potential_path_present === PAUSE TestFindExpectedPaths/One_potential_path_present @@ -1482,39 +1469,138 @@ === PAUSE TestFindExpectedPaths/No_potential_Paths_present === RUN TestFindExpectedPaths/Multiple_potential_paths_present === PAUSE TestFindExpectedPaths/Multiple_potential_paths_present -=== CONT TestGenerateRPCOneOfFieldBodyAdditionalBindings/json -=== RUN TestGenerateRPCOrderNotPreservedMergeFiles/yaml -2024/12/29 07:55:01 ERROR: no message found: Status +=== CONT TestFindExpectedPaths/One_potential_path_present +=== CONT TestFindExpectedPaths/Multiple_potential_paths_present +=== CONT TestGenerateRPCOrderPreserved +=== CONT TestGenerate_YAML +=== CONT TestGenerateRPCOrderPreservedMergeFiles +=== RUN TestGenerateRPCOneOfFieldBodyAdditionalBindings/json +=== RUN TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json +=== RUN TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json +=== PAUSE TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json +=== CONT TestGenerateRPCOrderPreservedAdditionalBindings +=== RUN TestGenerateRPCOrderPreserved/json +=== PAUSE TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json +=== RUN TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml +=== PAUSE TestGenerateRPCOrderPreserved/json +=== CONT TestFindExpectedPaths/No_potential_Paths_present +--- PASS: TestFindExpectedPaths (0.00s) + --- PASS: TestFindExpectedPaths/One_potential_path_present (0.00s) + --- PASS: TestFindExpectedPaths/Multiple_potential_paths_present (0.00s) + --- PASS: TestFindExpectedPaths/No_potential_Paths_present (0.00s) +=== RUN TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml +=== CONT TestGenerateRPCOrderPreservedMultipleServices +=== PAUSE TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml +=== PAUSE TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml +=== CONT TestGenerateRPCOrderNotPreservedMultipleServices +=== CONT TestGenerateRPCOrderNotPreservedMergeFiles +2026/01/31 14:19:31 ERROR: no message found: Status +=== CONT TestOpenapiSchemaObjectProperties file.proto descriptor.File should not contain nil SourceCodeInfo -=== PAUSE TestGenerateRPCOrderNotPreservedMergeFiles/yaml +=== RUN TestOpenapiSchemaObjectProperties/yaml +=== PAUSE TestOpenapiSchemaObjectProperties/yaml +=== RUN TestOpenapiSchemaObjectProperties/json +=== RUN TestGenerateRPCOrderNotPreservedAdditionalBindings/json +=== PAUSE TestOpenapiSchemaObjectProperties/json +=== PAUSE TestRawExample/1 +=== PAUSE TestGenerateRPCOneOfFieldBodyAdditionalBindings/json === CONT TestFormatEncode +=== RUN TestGenerateRPCOrderNotPreservedMultipleServices/json +=== RUN TestGenerateRPCOrderPreservedMultipleServices/json +=== RUN TestGenerateRPCOrderNotPreservedMergeFiles/json +=== PAUSE TestGenerateRPCOrderNotPreservedMultipleServices/json === RUN TestFormatEncode/json +=== PAUSE TestGenerateRPCOrderNotPreservedMergeFiles/json +--- PASS: TestGenerate_YAML (0.00s) +=== PAUSE TestGenerateRPCOrderPreservedMultipleServices/json +=== RUN TestGenerateRPCOrderNotPreservedMergeFiles/yaml +=== CONT TestGenerateYAML === PAUSE TestFormatEncode/json +=== RUN TestGenerateRPCOrderPreservedMultipleServices/yaml === RUN TestFormatEncode/yaml +=== PAUSE TestGenerateRPCOrderPreservedMultipleServices/yaml +=== PAUSE TestGenerateRPCOrderNotPreservedAdditionalBindings/json +=== CONT TestGenerateExtension +=== RUN TestGenerateRPCOrderNotPreservedMultipleServices/yaml +=== PAUSE TestGenerateRPCOrderNotPreservedMultipleServices/yaml +=== PAUSE TestGenerateRPCOrderNotPreservedMergeFiles/yaml +=== CONT TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json === PAUSE TestFormatEncode/yaml -=== CONT TestGenerateRPCOrderPreservedAdditionalBindings/json +=== RUN TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml +=== RUN TestRawExample/"1" +=== PAUSE TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml +=== RUN TestGenerateRPCOrderPreservedMergeFiles/json +=== PAUSE TestRawExample/"1" +=== CONT TestFormatValidate +=== RUN TestGenerateExtension/json +=== CONT TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json +=== PAUSE TestGenerateRPCOrderPreservedMergeFiles/json +=== RUN TestGenerateRPCOrderPreserved/yaml +=== RUN TestGenerateRPCOrderPreservedMergeFiles/yaml +=== PAUSE TestGenerateRPCOrderPreserved/yaml +=== RUN TestFormatValidate/json +=== CONT TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml +=== PAUSE TestFormatValidate/json +=== CONT TestGenerateRPCOrderNotPreserved +=== RUN TestFormatValidate/yaml +=== PAUSE TestFormatValidate/yaml +=== PAUSE TestGenerateRPCOrderPreservedMergeFiles/yaml +=== RUN TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml +=== RUN TestGenerateYAML/path_item_object +=== PAUSE TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml +=== PAUSE TestGenerateYAML/path_item_object +=== CONT TestGenerateRPCOrderPreservedMultipleServices/json +=== RUN TestGenerateRPCOrderNotPreserved/json +=== CONT TestOpenapiSchemaObjectProperties/yaml +=== PAUSE TestGenerateExtension/json +=== RUN TestRawExample/{"hello":"worldr"} exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== PAUSE TestRawExample/{"hello":"worldr"} +=== RUN TestFormatValidate/unknown +=== PAUSE TestFormatValidate/unknown +=== CONT TestGenerateRPCOrderPreservedMultipleServices/yaml +=== CONT TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml +=== RUN TestFormatValidate/#00 +=== CONT TestGenerateRPCOrderNotPreservedMultipleServices/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestOpenapiSchemaObjectProperties/json +=== RUN TestGenerateRPCOrderPreservedAdditionalBindings/json +=== RUN TestGenerateExtension/yaml +=== CONT TestGenerateRPCOrderNotPreservedMergeFiles/json +--- PASS: TestOpenapiSchemaObjectProperties (0.00s) + --- PASS: TestOpenapiSchemaObjectProperties/yaml (0.00s) + --- PASS: TestOpenapiSchemaObjectProperties/json (0.00s) +=== PAUSE TestGenerateRPCOrderNotPreserved/json +=== PAUSE TestFormatValidate/#00 +=== PAUSE TestGenerateExtension/yaml +=== CONT TestFormatEncode/json +=== CONT TestGenerateRPCOrderNotPreservedMultipleServices/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo ---- PASS: TestGenerate_YAML (0.00s) +=== RUN TestGenerateRPCOrderNotPreserved/yaml +=== CONT TestFormatEncode/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderPreservedAdditionalBindings/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2024/12/29 07:55:01 ERROR: no message found: Status +=== PAUSE TestGenerateRPCOrderPreservedAdditionalBindings/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== RUN TestGenerateRPCOrderPreservedAdditionalBindings/yaml +=== PAUSE TestGenerateRPCOrderPreservedAdditionalBindings/yaml +=== CONT TestGenerateRPCOrderNotPreservedMergeFiles/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== PAUSE TestGenerateRPCOrderNotPreserved/yaml +=== CONT TestGenerateRPCOneOfFieldBodyAdditionalBindings/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== RUN TestGenerateRPCOrderPreserved/json -=== PAUSE TestGenerateRPCOrderPreserved/json -=== RUN TestGenerateRPCOrderPreserved/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== PAUSE TestGenerateRPCOrderPreserved/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestFormatEncode (0.00s) + --- PASS: TestFormatEncode/json (0.00s) + --- PASS: TestFormatEncode/yaml (0.00s) +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo === CONT TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo @@ -1526,7 +1612,6 @@ exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2024/12/29 07:55:01 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo @@ -1538,142 +1623,13 @@ exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2024/12/29 07:55:01 ERROR: no message found: Status -=== NAME TestGenerateRPCOneOfFieldBodyAdditionalBindings/json - generator_test.go:1265: { - "swagger": "2.0", - "info": { - "title": "exampleproto/v1/example.proto", - "version": "version not set" - }, - "tags": [ - { - "name": "TestService" - } - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/b/foo": { - "post": { - "operationId": "TestService_Test1", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/v1Foo" - } - } - }, - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1Foo" - } - } - ], - "tags": [ - "TestService" - ] - } - }, - "/b/foo/bar": { - "post": { - "operationId": "TestService_Test12", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/v1Foo" - } - } - }, - "parameters": [ - { - "name": "bar", - "in": "body", - "required": true, - "schema": { - "type": "string" - } - } - ], - "tags": [ - "TestService" - ] - } - }, - "/b/foo/baz": { - "post": { - "operationId": "TestService_Test13", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/v1Foo" - } - } - }, - "parameters": [ - { - "name": "baz", - "in": "body", - "required": true, - "schema": { - "type": "string" - } - } - ], - "tags": [ - "TestService" - ] - } - } - }, - "definitions": { - "v1Foo": { - "type": "object", - "properties": { - "bar": { - "type": "string" - }, - "baz": { - "type": "string" - } - } - } - } - } - exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml -=== PAUSE TestFormatValidate/json -=== CONT TestGenerateRPCOrderNotPreservedAdditionalBindings/json -=== RUN TestFormatValidate/yaml -=== PAUSE TestFormatValidate/yaml -=== RUN TestFormatValidate/unknown -=== PAUSE TestFormatValidate/unknown -=== RUN TestFormatValidate/#00 -=== PAUSE TestFormatValidate/#00 -=== CONT TestOpenapiSchemaObjectProperties -=== RUN TestOpenapiSchemaObjectProperties/yaml -=== PAUSE TestOpenapiSchemaObjectProperties/yaml -=== RUN TestOpenapiSchemaObjectProperties/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== PAUSE TestOpenapiSchemaObjectProperties/json -=== CONT TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo @@ -1682,17 +1638,10 @@ exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2024/12/29 07:55:01 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== PAUSE TestGenerateRPCOrderPreservedMultipleServices/json -=== CONT TestGenerateYAML exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== RUN TestGenerateRPCOrderNotPreservedMultipleServices/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== PAUSE TestRawExample/{"hello":"worldr"} -=== PAUSE TestGenerateExtension/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo @@ -1700,24 +1649,16 @@ exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== RUN TestGenerateRPCOrderPreservedMultipleServices/yaml -=== PAUSE TestGenerateRPCOrderPreservedMultipleServices/yaml -=== CONT TestGenerateRPCOrderNotPreserved/yaml -=== PAUSE TestGenerateRPCOrderNotPreservedMultipleServices/json -=== RUN TestGenerateRPCOrderNotPreservedMultipleServices/yaml -=== PAUSE TestGenerateRPCOrderNotPreservedMultipleServices/yaml -=== CONT TestGenerateRPCOrderNotPreserved/json -=== CONT TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== RUN TestGenerateYAML/path_item_object -=== PAUSE TestGenerateYAML/path_item_object -=== CONT TestGenerateRPCOrderPreservedMergeFiles/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo @@ -1726,6 +1667,12 @@ exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/01/31 14:19:31 ERROR: no message found: Status +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/01/31 14:19:31 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo @@ -1734,336 +1681,68 @@ exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo - generator_test.go:1265: swagger: "2.0" - info: - title: exampleproto/v1/example.proto - version: version not set - tags: - - name: TestService - consumes: - - application/json - produces: - - application/json - paths: - /b/foo: - post: - operationId: TestService_Test1 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: body - in: body - required: true - schema: - $ref: '#/definitions/v1Foo' - tags: - - TestService - /b/foo/bar: - post: - operationId: TestService_Test12 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: body - required: true - schema: - type: string - tags: - - TestService - /b/foo/baz: - post: - operationId: TestService_Test13 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: baz - in: body - required: true - schema: - type: string - tags: - - TestService - definitions: - v1Foo: - type: object - properties: - bar: - type: string - baz: - type: string - exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo ---- PASS: TestGenerateRPCOneOfFieldBodyAdditionalBindings (0.00s) - --- PASS: TestGenerateRPCOneOfFieldBodyAdditionalBindings/json (0.00s) - --- PASS: TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml (0.01s) -=== CONT TestGenerateRPCOrderPreservedMergeFiles/yaml -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -2024/12/29 07:55:01 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2024/12/29 07:55:01 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/01/31 14:19:31 ERROR: no message found: Status +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOrderPreservedAdditionalBindings/yaml - generator_test.go:1168: swagger: "2.0" - info: - title: exampleproto/v1/example.proto - version: version not set - tags: - - name: TestService - consumes: - - application/json - produces: - - application/json - paths: - /b/first: - get: - operationId: TestService_Test1 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /a/additional: - get: - operationId: TestService_Test12 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /a/second: - get: - operationId: TestService_Test2 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /z/zAdditional: - get: - operationId: TestService_Test22 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /c/third: - get: - operationId: TestService_Test3 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /b/bAdditional: - get: - operationId: TestService_Test32 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - definitions: - v1Foo: - type: object - properties: - bar: - type: string - -=== CONT TestFindExpectedPaths/One_potential_path_present -=== CONT TestGenerateRPCOrderNotPreservedMergeFiles/json -=== NAME TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml +2026/01/31 14:19:31 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo - generator_test.go:1375: swagger: "2.0" - info: - title: exampleproto/v1/example.proto - version: version not set - tags: - - name: TestService - consumes: - - application/json - produces: - - application/json - paths: - /a/additional: - get: - operationId: TestService_Test12 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /a/second: - get: - operationId: TestService_Test2 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /b/bAdditional: - get: - operationId: TestService_Test32 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /b/first: - get: - operationId: TestService_Test1 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /c/third: - get: - operationId: TestService_Test3 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /z/zAdditional: - get: - operationId: TestService_Test22 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - definitions: - v1Foo: - type: object - properties: - bar: - type: string - -=== CONT TestFormatEncode/json -=== CONT TestGenerateRPCOrderNotPreservedMergeFiles/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/01/31 14:19:31 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo @@ -2073,11 +1752,20 @@ exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/01/31 14:19:31 ERROR: no message found: Status +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/01/31 14:19:31 ERROR: no message found: Status +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo @@ -2086,111 +1774,65 @@ exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2024/12/29 07:55:01 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/01/31 14:19:31 ERROR: no message found: Status +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/01/31 14:19:31 ERROR: no message found: Status +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/01/31 14:19:31 ERROR: no message found: Status +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/01/31 14:19:31 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -2024/12/29 07:55:01 ERROR: no message found: Status -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOrderNotPreserved/yaml - generator_test.go:491: swagger: "2.0" - info: - title: exampleproto/v1/example.proto - version: version not set - tags: - - name: TestService - consumes: - - application/json - produces: - - application/json - paths: - /a/second: - get: - operationId: TestService_Test2 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /b/first: - get: - operationId: TestService_Test1 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /c/third: - get: - operationId: TestService_Test3 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - definitions: - v1Foo: - type: object - properties: - bar: - type: string - -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2024/12/29 07:55:01 ERROR: no message found: Status +2026/01/31 14:19:31 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOrderNotPreserved/json - generator_test.go:491: { +=== NAME TestGenerateRPCOrderNotPreservedMultipleServices/json + generator_test.go:749: { "swagger": "2.0", "info": { "title": "exampleproto/v1/example.proto", @@ -2198,7 +1840,10 @@ }, "tags": [ { - "name": "TestService" + "name": "TestServiceOne" + }, + { + "name": "TestServiceTwo" } ], "consumes": [ @@ -2210,7 +1855,7 @@ "paths": { "/a/second": { "get": { - "operationId": "TestService_Test2", + "operationId": "TestServiceTwo_Test2", "responses": { "200": { "description": "A successful response.", @@ -2228,13 +1873,13 @@ } ], "tags": [ - "TestService" + "TestServiceTwo" ] } }, "/b/first": { "get": { - "operationId": "TestService_Test1", + "operationId": "TestServiceTwo_Test1", "responses": { "200": { "description": "A successful response.", @@ -2252,13 +1897,13 @@ } ], "tags": [ - "TestService" + "TestServiceTwo" ] } }, "/c/third": { "get": { - "operationId": "TestService_Test3", + "operationId": "TestServiceOne_Test3", "responses": { "200": { "description": "A successful response.", @@ -2276,7 +1921,79 @@ } ], "tags": [ - "TestService" + "TestServiceOne" + ] + } + }, + "/d/first": { + "get": { + "operationId": "TestServiceOne_Test1", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/v1Foo" + } + } + }, + "parameters": [ + { + "name": "bar", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "TestServiceOne" + ] + } + }, + "/e/second": { + "get": { + "operationId": "TestServiceOne_Test2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/v1Foo" + } + } + }, + "parameters": [ + { + "name": "bar", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "TestServiceOne" + ] + } + }, + "/g/third": { + "get": { + "operationId": "TestServiceTwo_Test3", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/v1Foo" + } + } + }, + "parameters": [ + { + "name": "bar", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "TestServiceTwo" ] } } @@ -2293,282 +2010,8 @@ } } -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml - generator_test.go:1574: swagger: "2.0" - info: - title: exampleproto/v1/example.proto - version: version not set - tags: - - name: TestServiceOne - - name: TestServiceTwo - - name: TestService - consumes: - - application/json - produces: - - application/json - paths: - /d/first: - get: - operationId: TestServiceOne_Test1 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/examplev1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestServiceOne - /e/second: - get: - operationId: TestServiceOne_Test2 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/examplev1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestServiceOne - /c/third: - get: - operationId: TestServiceOne_Test3 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/examplev1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestServiceOne - /b/first: - get: - operationId: TestServiceTwo_Test1 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/examplev1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestServiceTwo - /a/second: - get: - operationId: TestServiceTwo_Test2 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/examplev1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestServiceTwo - /g/third: - get: - operationId: TestServiceTwo_Test3 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/examplev1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestServiceTwo - /b/bpath: - get: - operationId: TestService_Test1 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/examplev2Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /a/additional: - get: - operationId: TestService_Test12 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/examplev2Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /a/apath: - get: - operationId: TestService_Test2 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/examplev2Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /z/zAdditional: - get: - operationId: TestService_Test22 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/examplev2Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /c/cpath: - get: - operationId: TestService_Test3 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/examplev2Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /b/bAdditional: - get: - operationId: TestService_Test32 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/examplev2Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - definitions: - examplev1Foo: - type: object - properties: - bar: - type: string - examplev2Foo: - type: object - properties: - bar: - type: string - -=== CONT TestFindExpectedPaths/Multiple_potential_paths_present -=== CONT TestFindExpectedPaths/No_potential_Paths_present -=== CONT TestFormatEncode/yaml -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestFormatValidate/json -=== CONT TestOpenapiSchemaObjectProperties/yaml -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -2024/12/29 07:55:01 ERROR: no message found: Status -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderPreserved/yaml -=== CONT TestFormatValidate/yaml -=== CONT TestFormatValidate/#00 -=== CONT TestFormatValidate/unknown -=== CONT TestOpenapiSchemaObjectProperties/json -=== CONT TestGenerateExtension/json -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo ---- PASS: TestGenerateRPCOrderNotPreserved (0.00s) - --- PASS: TestGenerateRPCOrderNotPreserved/yaml (0.01s) - --- PASS: TestGenerateRPCOrderNotPreserved/json (0.01s) -2024/12/29 07:55:01 ERROR: no message found: Status -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo ---- PASS: TestFindExpectedPaths (0.00s) - --- PASS: TestFindExpectedPaths/One_potential_path_present (0.00s) - --- PASS: TestFindExpectedPaths/Multiple_potential_paths_present (0.00s) - --- PASS: TestFindExpectedPaths/No_potential_Paths_present (0.00s) -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo ---- PASS: TestFormatEncode (0.00s) - --- PASS: TestFormatEncode/json (0.00s) - --- PASS: TestFormatEncode/yaml (0.00s) -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo ---- PASS: TestFormatValidate (0.00s) - --- PASS: TestFormatValidate/json (0.00s) - --- PASS: TestFormatValidate/yaml (0.00s) - --- PASS: TestFormatValidate/#00 (0.00s) - --- PASS: TestFormatValidate/unknown (0.00s) -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderPreserved/json -2024/12/29 07:55:01 ERROR: no message found: Status -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOrderNotPreservedMergeFiles/json -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo - generator_test.go:1062: { +=== NAME TestGenerateRPCOneOfFieldBodyAdditionalBindings/json + generator_test.go:1265: { "swagger": "2.0", "info": { "title": "exampleproto/v1/example.proto", @@ -2586,14 +2029,130 @@ "application/json" ], "paths": { - "/a/apath": { + "/b/foo": { + "post": { + "operationId": "TestService_Test1", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/v1Foo" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1Foo" + } + } + ], + "tags": [ + "TestService" + ] + } + }, + "/b/foo/bar": { + "post": { + "operationId": "TestService_Test12", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/v1Foo" + } + } + }, + "parameters": [ + { + "name": "bar", + "in": "body", + "required": true, + "schema": { + "type": "string" + } + } + ], + "tags": [ + "TestService" + ] + } + }, + "/b/foo/baz": { + "post": { + "operationId": "TestService_Test13", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/v1Foo" + } + } + }, + "parameters": [ + { + "name": "baz", + "in": "body", + "required": true, + "schema": { + "type": "string" + } + } + ], + "tags": [ + "TestService" + ] + } + } + }, + "definitions": { + "v1Foo": { + "type": "object", + "properties": { + "bar": { + "type": "string" + }, + "baz": { + "type": "string" + } + } + } + } + } + +=== NAME TestGenerateRPCOrderPreservedMultipleServices/json + generator_test.go:620: { + "swagger": "2.0", + "info": { + "title": "exampleproto/v1/example.proto", + "version": "version not set" + }, + "tags": [ + { + "name": "TestServiceOne" + }, + { + "name": "TestServiceTwo" + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/d/first": { "get": { - "operationId": "TestService_Test3", + "operationId": "TestServiceOne_Test1", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev1Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -2606,18 +2165,18 @@ } ], "tags": [ - "TestService" + "TestServiceOne" ] } }, - "/b/bpath": { + "/e/second": { "get": { - "operationId": "TestService_Test2", + "operationId": "TestServiceOne_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev1Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -2630,18 +2189,18 @@ } ], "tags": [ - "TestService" + "TestServiceOne" ] } }, - "/c/cpath": { + "/c/third": { "get": { - "operationId": "TestService_Test1", + "operationId": "TestServiceOne_Test3", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev1Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -2654,18 +2213,18 @@ } ], "tags": [ - "TestService" + "TestServiceOne" ] } }, - "/d/dpath": { + "/b/first": { "get": { - "operationId": "TestService_Test3", + "operationId": "TestServiceTwo_Test1", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -2678,18 +2237,18 @@ } ], "tags": [ - "TestService" + "TestServiceTwo" ] } }, - "/e/epath": { + "/a/second": { "get": { - "operationId": "TestService_Test2", + "operationId": "TestServiceTwo_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -2702,18 +2261,18 @@ } ], "tags": [ - "TestService" + "TestServiceTwo" ] } }, - "/f/fpath": { + "/g/third": { "get": { - "operationId": "TestService_Test1", + "operationId": "TestServiceTwo_Test3", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -2726,21 +2285,13 @@ } ], "tags": [ - "TestService" + "TestServiceTwo" ] } } }, "definitions": { - "examplev1Foo": { - "type": "object", - "properties": { - "bar": { - "type": "string" - } - } - }, - "examplev2Foo": { + "v1Foo": { "type": "object", "properties": { "bar": { @@ -2751,18 +2302,26 @@ } } -=== CONT TestRawExample/1 -=== CONT TestGenerateExtension/yaml ---- PASS: TestOpenapiSchemaObjectProperties (0.00s) - --- PASS: TestOpenapiSchemaObjectProperties/yaml (0.00s) - --- PASS: TestOpenapiSchemaObjectProperties/json (0.00s) -2024/12/29 07:55:01 ERROR: no message found: Status +=== CONT TestGenerateRPCOrderPreserved/json +=== CONT TestGenerateRPCOrderPreserved/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOrderPreservedMergeFiles/yaml - generator_test.go:906: swagger: "2.0" +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/01/31 14:19:31 ERROR: no message found: Status +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== NAME TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml + generator_test.go:1265: swagger: "2.0" info: title: exampleproto/v1/example.proto version: version not set @@ -2773,13 +2332,90 @@ produces: - application/json paths: - /c/cpath: - get: + /b/foo: + post: operationId: TestService_Test1 responses: "200": description: A successful response. schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/v1Foo' + tags: + - TestService + /b/foo/bar: + post: + operationId: TestService_Test12 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: body + required: true + schema: + type: string + tags: + - TestService + /b/foo/baz: + post: + operationId: TestService_Test13 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: baz + in: body + required: true + schema: + type: string + tags: + - TestService + definitions: + v1Foo: + type: object + properties: + bar: + type: string + baz: + type: string + +2026/01/31 14:19:31 ERROR: no message found: Status +--- PASS: TestGenerateRPCOneOfFieldBodyAdditionalBindings (0.00s) + --- PASS: TestGenerateRPCOneOfFieldBodyAdditionalBindings/json (0.01s) + --- PASS: TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml (0.01s) +=== CONT TestGenerateRPCOrderPreservedMergeFiles/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== NAME TestGenerateRPCOrderNotPreservedMergeFiles/yaml + generator_test.go:1062: swagger: "2.0" + info: + title: exampleproto/v1/example.proto + version: version not set + tags: + - name: TestService + consumes: + - application/json + produces: + - application/json + paths: + /a/apath: + get: + operationId: TestService_Test3 + responses: + "200": + description: A successful response. + schema: $ref: '#/definitions/examplev1Foo' parameters: - name: bar @@ -2803,9 +2439,9 @@ type: string tags: - TestService - /a/apath: + /c/cpath: get: - operationId: TestService_Test3 + operationId: TestService_Test1 responses: "200": description: A successful response. @@ -2818,9 +2454,9 @@ type: string tags: - TestService - /f/fpath: + /d/dpath: get: - operationId: TestService_Test1 + operationId: TestService_Test3 responses: "200": description: A successful response. @@ -2848,9 +2484,9 @@ type: string tags: - TestService - /d/dpath: + /f/fpath: get: - operationId: TestService_Test3 + operationId: TestService_Test1 responses: "200": description: A successful response. @@ -2875,20 +2511,8 @@ bar: type: string -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2024/12/29 07:55:01 ERROR: no message found: Status -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestRawExample/{"hello":"worldr"} -=== CONT TestRawExample/"1" ---- PASS: TestRawExample (0.01s) - --- PASS: TestRawExample/1 (0.00s) - --- PASS: TestRawExample/{"hello":"worldr"} (0.00s) - --- PASS: TestRawExample/"1" (0.00s) -=== CONT TestGenerateRPCOrderPreservedMultipleServices/json -=== NAME TestGenerateRPCOrderPreserved/json - generator_test.go:394: { +=== NAME TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json + generator_test.go:1574: { "swagger": "2.0", "info": { "title": "exampleproto/v1/example.proto", @@ -2896,6 +2520,12 @@ }, "tags": [ { + "name": "TestServiceOne" + }, + { + "name": "TestServiceTwo" + }, + { "name": "TestService" } ], @@ -2906,14 +2536,86 @@ "application/json" ], "paths": { + "/d/first": { + "get": { + "operationId": "TestServiceOne_Test1", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/examplev1Foo" + } + } + }, + "parameters": [ + { + "name": "bar", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "TestServiceOne" + ] + } + }, + "/e/second": { + "get": { + "operationId": "TestServiceOne_Test2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/examplev1Foo" + } + } + }, + "parameters": [ + { + "name": "bar", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "TestServiceOne" + ] + } + }, + "/c/third": { + "get": { + "operationId": "TestServiceOne_Test3", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/examplev1Foo" + } + } + }, + "parameters": [ + { + "name": "bar", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "TestServiceOne" + ] + } + }, "/b/first": { "get": { - "operationId": "TestService_Test1", + "operationId": "TestServiceTwo_Test1", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -2926,18 +2628,66 @@ } ], "tags": [ - "TestService" + "TestServiceTwo" ] } }, "/a/second": { "get": { - "operationId": "TestService_Test2", + "operationId": "TestServiceTwo_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev1Foo" + } + } + }, + "parameters": [ + { + "name": "bar", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "TestServiceTwo" + ] + } + }, + "/g/third": { + "get": { + "operationId": "TestServiceTwo_Test3", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/examplev1Foo" + } + } + }, + "parameters": [ + { + "name": "bar", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "TestServiceTwo" + ] + } + }, + "/b/bpath": { + "get": { + "operationId": "TestService_Test1", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/examplev2Foo" } } }, @@ -2954,14 +2704,14 @@ ] } }, - "/c/third": { + "/a/additional": { "get": { - "operationId": "TestService_Test3", + "operationId": "TestService_Test12", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -2977,138 +2727,39 @@ "TestService" ] } - } - }, - "definitions": { - "v1Foo": { - "type": "object", - "properties": { - "bar": { - "type": "string" - } + }, + "/a/apath": { + "get": { + "operationId": "TestService_Test2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/examplev2Foo" + } + } + }, + "parameters": [ + { + "name": "bar", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "TestService" + ] } - } - } - } - -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2024/12/29 07:55:01 ERROR: no message found: Status -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOrderPreserved/yaml - generator_test.go:394: swagger: "2.0" - info: - title: exampleproto/v1/example.proto - version: version not set - tags: - - name: TestService - consumes: - - application/json - produces: - - application/json - paths: - /b/first: - get: - operationId: TestService_Test1 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /a/second: - get: - operationId: TestService_Test2 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /c/third: - get: - operationId: TestService_Test3 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - definitions: - v1Foo: - type: object - properties: - bar: - type: string - ---- PASS: TestGenerateRPCOrderPreserved (0.00s) - --- PASS: TestGenerateRPCOrderPreserved/json (0.00s) - --- PASS: TestGenerateRPCOrderPreserved/yaml (0.00s) -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2024/12/29 07:55:01 ERROR: no message found: Status -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOrderPreservedMultipleServices/json - generator_test.go:620: { - "swagger": "2.0", - "info": { - "title": "exampleproto/v1/example.proto", - "version": "version not set" - }, - "tags": [ - { - "name": "TestServiceOne" }, - { - "name": "TestServiceTwo" - } - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/d/first": { + "/z/zAdditional": { "get": { - "operationId": "TestServiceOne_Test1", + "operationId": "TestService_Test22", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -3121,18 +2772,18 @@ } ], "tags": [ - "TestServiceOne" + "TestService" ] } }, - "/e/second": { + "/c/cpath": { "get": { - "operationId": "TestServiceOne_Test2", + "operationId": "TestService_Test3", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -3145,18 +2796,18 @@ } ], "tags": [ - "TestServiceOne" + "TestService" ] } }, - "/c/third": { + "/b/bAdditional": { "get": { - "operationId": "TestServiceOne_Test3", + "operationId": "TestService_Test32", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -3169,13 +2820,55 @@ } ], "tags": [ - "TestServiceOne" + "TestService" ] } + } + }, + "definitions": { + "examplev1Foo": { + "type": "object", + "properties": { + "bar": { + "type": "string" + } + } }, + "examplev2Foo": { + "type": "object", + "properties": { + "bar": { + "type": "string" + } + } + } + } + } + +=== CONT TestGenerateRPCOrderPreservedMergeFiles/json +=== CONT TestGenerateRPCOrderNotPreservedAdditionalBindings/json +=== NAME TestGenerateRPCOrderPreserved/json + generator_test.go:394: { + "swagger": "2.0", + "info": { + "title": "exampleproto/v1/example.proto", + "version": "version not set" + }, + "tags": [ + { + "name": "TestService" + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { "/b/first": { "get": { - "operationId": "TestServiceTwo_Test1", + "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", @@ -3193,13 +2886,13 @@ } ], "tags": [ - "TestServiceTwo" + "TestService" ] } }, "/a/second": { "get": { - "operationId": "TestServiceTwo_Test2", + "operationId": "TestService_Test2", "responses": { "200": { "description": "A successful response.", @@ -3217,13 +2910,13 @@ } ], "tags": [ - "TestServiceTwo" + "TestService" ] } }, - "/g/third": { + "/c/third": { "get": { - "operationId": "TestServiceTwo_Test3", + "operationId": "TestService_Test3", "responses": { "200": { "description": "A successful response.", @@ -3241,7 +2934,7 @@ } ], "tags": [ - "TestServiceTwo" + "TestService" ] } } @@ -3258,8 +2951,12 @@ } } -=== NAME TestGenerateRPCOrderNotPreservedAdditionalBindings/json - generator_test.go:1375: { +=== CONT TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== NAME TestGenerateRPCOrderNotPreservedMergeFiles/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo + generator_test.go:1062: { "swagger": "2.0", "info": { "title": "exampleproto/v1/example.proto", @@ -3277,14 +2974,14 @@ "application/json" ], "paths": { - "/a/additional": { + "/a/apath": { "get": { - "operationId": "TestService_Test12", + "operationId": "TestService_Test3", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -3301,14 +2998,14 @@ ] } }, - "/a/second": { + "/b/bpath": { "get": { "operationId": "TestService_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -3325,14 +3022,14 @@ ] } }, - "/b/bAdditional": { + "/c/cpath": { "get": { - "operationId": "TestService_Test32", + "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -3349,14 +3046,14 @@ ] } }, - "/b/first": { + "/d/dpath": { "get": { - "operationId": "TestService_Test1", + "operationId": "TestService_Test3", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -3373,14 +3070,14 @@ ] } }, - "/c/third": { + "/e/epath": { "get": { - "operationId": "TestService_Test3", + "operationId": "TestService_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -3397,14 +3094,14 @@ ] } }, - "/z/zAdditional": { + "/f/fpath": { "get": { - "operationId": "TestService_Test22", + "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -3423,7 +3120,15 @@ } }, "definitions": { - "v1Foo": { + "examplev1Foo": { + "type": "object", + "properties": { + "bar": { + "type": "string" + } + } + }, + "examplev2Foo": { "type": "object", "properties": { "bar": { @@ -3434,34 +3139,9 @@ } } -=== CONT TestGenerateRPCOrderNotPreservedMultipleServices/yaml ---- PASS: TestGenerateRPCOrderNotPreservedAdditionalBindings (0.01s) - --- PASS: TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml (0.01s) - --- PASS: TestGenerateRPCOrderNotPreservedAdditionalBindings/json (0.02s) -=== CONT TestGenerateRPCOrderPreservedMultipleServices/yaml -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderNotPreservedMultipleServices/json -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2024/12/29 07:55:01 ERROR: no message found: Status -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json - generator_test.go:1574: { +=== NAME TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json + generator_test.go:1774: { "swagger": "2.0", "info": { "title": "exampleproto/v1/example.proto", @@ -3485,14 +3165,14 @@ "application/json" ], "paths": { - "/d/first": { + "/a/additional": { "get": { - "operationId": "TestServiceOne_Test1", + "operationId": "TestService_Test12", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -3505,18 +3185,18 @@ } ], "tags": [ - "TestServiceOne" + "TestService" ] } }, - "/e/second": { + "/a/apath": { "get": { - "operationId": "TestServiceOne_Test2", + "operationId": "TestService_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -3529,13 +3209,13 @@ } ], "tags": [ - "TestServiceOne" + "TestService" ] } }, - "/c/third": { + "/a/second": { "get": { - "operationId": "TestServiceOne_Test3", + "operationId": "TestServiceTwo_Test2", "responses": { "200": { "description": "A successful response.", @@ -3553,18 +3233,18 @@ } ], "tags": [ - "TestServiceOne" + "TestServiceTwo" ] } }, - "/b/first": { + "/b/bAdditional": { "get": { - "operationId": "TestServiceTwo_Test1", + "operationId": "TestService_Test32", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -3577,18 +3257,18 @@ } ], "tags": [ - "TestServiceTwo" + "TestService" ] } }, - "/a/second": { + "/b/bpath": { "get": { - "operationId": "TestServiceTwo_Test2", + "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -3601,13 +3281,13 @@ } ], "tags": [ - "TestServiceTwo" + "TestService" ] } }, - "/g/third": { + "/b/first": { "get": { - "operationId": "TestServiceTwo_Test3", + "operationId": "TestServiceTwo_Test1", "responses": { "200": { "description": "A successful response.", @@ -3629,9 +3309,9 @@ ] } }, - "/b/bpath": { + "/c/cpath": { "get": { - "operationId": "TestService_Test1", + "operationId": "TestService_Test3", "responses": { "200": { "description": "A successful response.", @@ -3653,14 +3333,14 @@ ] } }, - "/a/additional": { + "/c/third": { "get": { - "operationId": "TestService_Test12", + "operationId": "TestServiceOne_Test3", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -3673,18 +3353,18 @@ } ], "tags": [ - "TestService" + "TestServiceOne" ] } }, - "/a/apath": { + "/d/first": { "get": { - "operationId": "TestService_Test2", + "operationId": "TestServiceOne_Test1", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -3697,18 +3377,18 @@ } ], "tags": [ - "TestService" + "TestServiceOne" ] } }, - "/z/zAdditional": { + "/e/second": { "get": { - "operationId": "TestService_Test22", + "operationId": "TestServiceOne_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -3721,18 +3401,18 @@ } ], "tags": [ - "TestService" + "TestServiceOne" ] } }, - "/c/cpath": { + "/g/third": { "get": { - "operationId": "TestService_Test3", + "operationId": "TestServiceTwo_Test3", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -3745,13 +3425,13 @@ } ], "tags": [ - "TestService" + "TestServiceTwo" ] } }, - "/b/bAdditional": { + "/z/zAdditional": { "get": { - "operationId": "TestService_Test32", + "operationId": "TestService_Test22", "responses": { "200": { "description": "A successful response.", @@ -3794,11 +3474,255 @@ } } ---- PASS: TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices (0.01s) - --- PASS: TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml (0.01s) - --- PASS: TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json (0.02s) +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo === CONT TestGenerateYAML/path_item_object +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestGenerateRPCOrderNotPreservedMergeFiles (0.00s) + --- PASS: TestGenerateRPCOrderNotPreservedMergeFiles/yaml (0.01s) + --- PASS: TestGenerateRPCOrderNotPreservedMergeFiles/json (0.02s) +=== CONT TestRawExample/1 +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestRawExample/{"hello":"worldr"} +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestRawExample/"1" +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestRawExample (0.00s) + --- PASS: TestRawExample/1 (0.00s) + --- PASS: TestRawExample/{"hello":"worldr"} (0.00s) + --- PASS: TestRawExample/"1" (0.00s) +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/01/31 14:19:31 ERROR: no message found: Status +=== CONT TestGenerateExtension/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== NAME TestGenerateRPCOrderPreservedMultipleServices/yaml + generator_test.go:620: swagger: "2.0" + info: + title: exampleproto/v1/example.proto + version: version not set + tags: + - name: TestServiceOne + - name: TestServiceTwo + consumes: + - application/json + produces: + - application/json + paths: + /d/first: + get: + operationId: TestServiceOne_Test1 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestServiceOne + /e/second: + get: + operationId: TestServiceOne_Test2 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestServiceOne + /c/third: + get: + operationId: TestServiceOne_Test3 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestServiceOne + /b/first: + get: + operationId: TestServiceTwo_Test1 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestServiceTwo + /a/second: + get: + operationId: TestServiceTwo_Test2 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestServiceTwo + /g/third: + get: + operationId: TestServiceTwo_Test3 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestServiceTwo + definitions: + v1Foo: + type: object + properties: + bar: + type: string + +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/01/31 14:19:31 ERROR: no message found: Status +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateExtension/yaml +=== CONT TestFormatValidate/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestFormatValidate/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestFormatValidate/#00 +--- PASS: TestGenerateRPCOrderPreservedMultipleServices (0.00s) + --- PASS: TestGenerateRPCOrderPreservedMultipleServices/json (0.01s) + --- PASS: TestGenerateRPCOrderPreservedMultipleServices/yaml (0.02s) +=== CONT TestGenerateRPCOrderPreservedAdditionalBindings/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/01/31 14:19:31 ERROR: no message found: Status +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/01/31 14:19:31 ERROR: no message found: Status +=== NAME TestGenerateRPCOrderPreserved/yaml + generator_test.go:394: swagger: "2.0" + info: + title: exampleproto/v1/example.proto + version: version not set + tags: + - name: TestService + consumes: + - application/json + produces: + - application/json + paths: + /b/first: + get: + operationId: TestService_Test1 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /a/second: + get: + operationId: TestService_Test2 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /c/third: + get: + operationId: TestService_Test3 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + definitions: + v1Foo: + type: object + properties: + bar: + type: string + +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestGenerateRPCOrderPreserved (0.00s) + --- PASS: TestGenerateRPCOrderPreserved/json (0.00s) + --- PASS: TestGenerateRPCOrderPreserved/yaml (0.01s) +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateRPCOrderPreservedAdditionalBindings/yaml === NAME TestGenerateRPCOrderNotPreservedMultipleServices/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo generator_test.go:749: swagger: "2.0" info: title: exampleproto/v1/example.proto @@ -3914,25 +3838,8 @@ exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo -2024/12/29 07:55:01 ERROR: no message found: Status -your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2024/12/29 07:55:01 ERROR: no message found: Status -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo -your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo === NAME TestGenerateExtension/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo generator_test.go:116: { "swagger": "2.0", "info": { @@ -3965,20 +3872,94 @@ } } +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateRPCOrderNotPreserved/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestGenerateRPCOrderNotPreservedMultipleServices (0.00s) + --- PASS: TestGenerateRPCOrderNotPreservedMultipleServices/json (0.01s) + --- PASS: TestGenerateRPCOrderNotPreservedMultipleServices/yaml (0.02s) +2026/01/31 14:19:31 ERROR: no message found: Status +=== CONT TestGenerateRPCOrderNotPreserved/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo +2026/01/31 14:19:31 ERROR: no message found: Status exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo +your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo +your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -2024/12/29 07:55:01 ERROR: no message found: Status +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/01/31 14:19:31 ERROR: no message found: Status +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== NAME TestGenerateExtension/yaml + generator_test.go:116: swagger: "2.0" + info: + title: exampleproto/v1/example.proto + version: version not set + tags: + - name: TestService + consumes: + - application/json + produces: + - application/json + paths: {} + definitions: + v1Foo: + type: object + properties: + bar: + type: string + description: This is bar + x-go-default: 0.5s + +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestGenerateExtension (0.00s) + --- PASS: TestGenerateExtension/json (0.00s) + --- PASS: TestGenerateExtension/yaml (0.00s) exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOrderPreservedMergeFiles/json - generator_test.go:906: { +=== CONT TestFormatValidate/unknown +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestFormatValidate (0.00s) + --- PASS: TestFormatValidate/json (0.00s) + --- PASS: TestFormatValidate/yaml (0.00s) + --- PASS: TestFormatValidate/#00 (0.00s) + --- PASS: TestFormatValidate/unknown (0.00s) +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/01/31 14:19:31 ERROR: no message found: Status +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/01/31 14:19:31 ERROR: no message found: Status +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== NAME TestGenerateRPCOrderNotPreserved/json + generator_test.go:491: { "swagger": "2.0", "info": { "title": "exampleproto/v1/example.proto", @@ -3996,62 +3977,14 @@ "application/json" ], "paths": { - "/c/cpath": { - "get": { - "operationId": "TestService_Test1", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/examplev1Foo" - } - } - }, - "parameters": [ - { - "name": "bar", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "TestService" - ] - } - }, - "/b/bpath": { + "/a/second": { "get": { "operationId": "TestService_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev1Foo" - } - } - }, - "parameters": [ - { - "name": "bar", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "TestService" - ] - } - }, - "/a/apath": { - "get": { - "operationId": "TestService_Test3", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/examplev1Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -4068,38 +4001,14 @@ ] } }, - "/f/fpath": { + "/b/first": { "get": { "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" - } - } - }, - "parameters": [ - { - "name": "bar", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "TestService" - ] - } - }, - "/e/epath": { - "get": { - "operationId": "TestService_Test2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -4116,14 +4025,14 @@ ] } }, - "/d/dpath": { + "/c/third": { "get": { "operationId": "TestService_Test3", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -4142,15 +4051,7 @@ } }, "definitions": { - "examplev1Foo": { - "type": "object", - "properties": { - "bar": { - "type": "string" - } - } - }, - "examplev2Foo": { + "v1Foo": { "type": "object", "properties": { "bar": { @@ -4162,98 +4063,31 @@ } exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo ---- PASS: TestGenerateRPCOrderPreservedMergeFiles (0.01s) - --- PASS: TestGenerateRPCOrderPreservedMergeFiles/yaml (0.01s) - --- PASS: TestGenerateRPCOrderPreservedMergeFiles/json (0.02s) -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2024/12/29 07:55:01 ERROR: no message found: Status -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -2024/12/29 07:55:01 ERROR: no message found: Status -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -2024/12/29 07:55:01 ERROR: no message found: Status +2026/01/31 14:19:31 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestGenerateYAML (0.00s) + --- PASS: TestGenerateYAML/path_item_object (0.01s) exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -2024/12/29 07:55:01 ERROR: no message found: Status -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2024/12/29 07:55:01 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/01/31 14:19:31 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo ---- PASS: TestGenerateYAML (0.00s) - --- PASS: TestGenerateYAML/path_item_object (0.01s) -=== NAME TestGenerateRPCOrderNotPreservedMultipleServices/json - generator_test.go:749: { +=== NAME TestGenerateRPCOrderNotPreservedAdditionalBindings/json + generator_test.go:1375: { "swagger": "2.0", "info": { "title": "exampleproto/v1/example.proto", @@ -4261,10 +4095,7 @@ }, "tags": [ { - "name": "TestServiceOne" - }, - { - "name": "TestServiceTwo" + "name": "TestService" } ], "consumes": [ @@ -4274,9 +4105,9 @@ "application/json" ], "paths": { - "/a/second": { + "/a/additional": { "get": { - "operationId": "TestServiceTwo_Test2", + "operationId": "TestService_Test12", "responses": { "200": { "description": "A successful response.", @@ -4294,13 +4125,13 @@ } ], "tags": [ - "TestServiceTwo" + "TestService" ] } }, - "/b/first": { + "/a/second": { "get": { - "operationId": "TestServiceTwo_Test1", + "operationId": "TestService_Test2", "responses": { "200": { "description": "A successful response.", @@ -4318,13 +4149,13 @@ } ], "tags": [ - "TestServiceTwo" + "TestService" ] } }, - "/c/third": { + "/b/bAdditional": { "get": { - "operationId": "TestServiceOne_Test3", + "operationId": "TestService_Test32", "responses": { "200": { "description": "A successful response.", @@ -4342,13 +4173,13 @@ } ], "tags": [ - "TestServiceOne" + "TestService" ] } }, - "/d/first": { + "/b/first": { "get": { - "operationId": "TestServiceOne_Test1", + "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", @@ -4366,13 +4197,13 @@ } ], "tags": [ - "TestServiceOne" + "TestService" ] } }, - "/e/second": { + "/c/third": { "get": { - "operationId": "TestServiceOne_Test2", + "operationId": "TestService_Test3", "responses": { "200": { "description": "A successful response.", @@ -4390,13 +4221,13 @@ } ], "tags": [ - "TestServiceOne" + "TestService" ] } }, - "/g/third": { + "/z/zAdditional": { "get": { - "operationId": "TestServiceTwo_Test3", + "operationId": "TestService_Test22", "responses": { "200": { "description": "A successful response.", @@ -4414,7 +4245,7 @@ } ], "tags": [ - "TestServiceTwo" + "TestService" ] } } @@ -4431,37 +4262,8 @@ } } -=== NAME TestGenerateExtension/yaml - generator_test.go:116: swagger: "2.0" - info: - title: exampleproto/v1/example.proto - version: version not set - tags: - - name: TestService - consumes: - - application/json - produces: - - application/json - paths: {} - definitions: - v1Foo: - type: object - properties: - bar: - type: string - description: This is bar - x-go-default: 0.5s - ---- PASS: TestGenerateExtension (0.00s) - --- PASS: TestGenerateExtension/json (0.01s) - --- PASS: TestGenerateExtension/yaml (0.01s) -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo ---- PASS: TestGenerateRPCOrderNotPreservedMultipleServices (0.01s) - --- PASS: TestGenerateRPCOrderNotPreservedMultipleServices/yaml (0.00s) - --- PASS: TestGenerateRPCOrderNotPreservedMultipleServices/json (0.01s) -=== NAME TestGenerateRPCOrderPreservedAdditionalBindings/json - generator_test.go:1168: { +=== NAME TestGenerateRPCOrderPreservedMergeFiles/json + generator_test.go:906: { "swagger": "2.0", "info": { "title": "exampleproto/v1/example.proto", @@ -4479,14 +4281,14 @@ "application/json" ], "paths": { - "/b/first": { + "/c/cpath": { "get": { "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -4503,14 +4305,14 @@ ] } }, - "/a/additional": { + "/b/bpath": { "get": { - "operationId": "TestService_Test12", + "operationId": "TestService_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -4527,14 +4329,14 @@ ] } }, - "/a/second": { + "/a/apath": { "get": { - "operationId": "TestService_Test2", + "operationId": "TestService_Test3", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -4551,14 +4353,14 @@ ] } }, - "/z/zAdditional": { + "/f/fpath": { "get": { - "operationId": "TestService_Test22", + "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -4575,14 +4377,14 @@ ] } }, - "/c/third": { + "/e/epath": { "get": { - "operationId": "TestService_Test3", + "operationId": "TestService_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -4599,14 +4401,14 @@ ] } }, - "/b/bAdditional": { + "/d/dpath": { "get": { - "operationId": "TestService_Test32", + "operationId": "TestService_Test3", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -4625,7 +4427,15 @@ } }, "definitions": { - "v1Foo": { + "examplev1Foo": { + "type": "object", + "properties": { + "bar": { + "type": "string" + } + } + }, + "examplev2Foo": { "type": "object", "properties": { "bar": { @@ -4636,11 +4446,8 @@ } } ---- PASS: TestGenerateRPCOrderPreservedAdditionalBindings (0.00s) - --- PASS: TestGenerateRPCOrderPreservedAdditionalBindings/yaml (0.01s) - --- PASS: TestGenerateRPCOrderPreservedAdditionalBindings/json (0.03s) -=== NAME TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json - generator_test.go:1774: { +=== NAME TestGenerateRPCOrderPreservedAdditionalBindings/json + generator_test.go:1168: { "swagger": "2.0", "info": { "title": "exampleproto/v1/example.proto", @@ -4648,12 +4455,6 @@ }, "tags": [ { - "name": "TestServiceOne" - }, - { - "name": "TestServiceTwo" - }, - { "name": "TestService" } ], @@ -4664,14 +4465,14 @@ "application/json" ], "paths": { - "/a/additional": { + "/b/first": { "get": { - "operationId": "TestService_Test12", + "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -4688,14 +4489,14 @@ ] } }, - "/a/apath": { + "/a/additional": { "get": { - "operationId": "TestService_Test2", + "operationId": "TestService_Test12", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -4714,36 +4515,12 @@ }, "/a/second": { "get": { - "operationId": "TestServiceTwo_Test2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/examplev1Foo" - } - } - }, - "parameters": [ - { - "name": "bar", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "TestServiceTwo" - ] - } - }, - "/b/bAdditional": { - "get": { - "operationId": "TestService_Test32", + "operationId": "TestService_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -4760,14 +4537,14 @@ ] } }, - "/b/bpath": { + "/z/zAdditional": { "get": { - "operationId": "TestService_Test1", + "operationId": "TestService_Test22", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -4784,38 +4561,14 @@ ] } }, - "/b/first": { - "get": { - "operationId": "TestServiceTwo_Test1", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/examplev1Foo" - } - } - }, - "parameters": [ - { - "name": "bar", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "TestServiceTwo" - ] - } - }, - "/c/cpath": { + "/c/third": { "get": { "operationId": "TestService_Test3", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -4832,110 +4585,14 @@ ] } }, - "/c/third": { - "get": { - "operationId": "TestServiceOne_Test3", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/examplev1Foo" - } - } - }, - "parameters": [ - { - "name": "bar", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "TestServiceOne" - ] - } - }, - "/d/first": { - "get": { - "operationId": "TestServiceOne_Test1", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/examplev1Foo" - } - } - }, - "parameters": [ - { - "name": "bar", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "TestServiceOne" - ] - } - }, - "/e/second": { - "get": { - "operationId": "TestServiceOne_Test2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/examplev1Foo" - } - } - }, - "parameters": [ - { - "name": "bar", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "TestServiceOne" - ] - } - }, - "/g/third": { - "get": { - "operationId": "TestServiceTwo_Test3", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/examplev1Foo" - } - } - }, - "parameters": [ - { - "name": "bar", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "TestServiceTwo" - ] - } - }, - "/z/zAdditional": { + "/b/bAdditional": { "get": { - "operationId": "TestService_Test22", + "operationId": "TestService_Test32", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -4954,15 +4611,7 @@ } }, "definitions": { - "examplev1Foo": { - "type": "object", - "properties": { - "bar": { - "type": "string" - } - } - }, - "examplev2Foo": { + "v1Foo": { "type": "object", "properties": { "bar": { @@ -4973,6 +4622,212 @@ } } +=== NAME TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml + generator_test.go:1574: swagger: "2.0" + info: + title: exampleproto/v1/example.proto + version: version not set + tags: + - name: TestServiceOne + - name: TestServiceTwo + - name: TestService + consumes: + - application/json + produces: + - application/json + paths: + /d/first: + get: + operationId: TestServiceOne_Test1 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestServiceOne + /e/second: + get: + operationId: TestServiceOne_Test2 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestServiceOne + /c/third: + get: + operationId: TestServiceOne_Test3 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestServiceOne + /b/first: + get: + operationId: TestServiceTwo_Test1 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestServiceTwo + /a/second: + get: + operationId: TestServiceTwo_Test2 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestServiceTwo + /g/third: + get: + operationId: TestServiceTwo_Test3 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestServiceTwo + /b/bpath: + get: + operationId: TestService_Test1 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev2Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /a/additional: + get: + operationId: TestService_Test12 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev2Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /a/apath: + get: + operationId: TestService_Test2 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev2Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /z/zAdditional: + get: + operationId: TestService_Test22 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev2Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /c/cpath: + get: + operationId: TestService_Test3 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev2Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /b/bAdditional: + get: + operationId: TestService_Test32 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev2Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + definitions: + examplev1Foo: + type: object + properties: + bar: + type: string + examplev2Foo: + type: object + properties: + bar: + type: string + === NAME TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml generator_test.go:1774: swagger: "2.0" info: @@ -5179,25 +5034,144 @@ bar: type: string ---- PASS: TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices (0.01s) - --- PASS: TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json (0.03s) +=== NAME TestGenerateRPCOrderPreservedMergeFiles/yaml + generator_test.go:906: swagger: "2.0" + info: + title: exampleproto/v1/example.proto + version: version not set + tags: + - name: TestService + consumes: + - application/json + produces: + - application/json + paths: + /c/cpath: + get: + operationId: TestService_Test1 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /b/bpath: + get: + operationId: TestService_Test2 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /a/apath: + get: + operationId: TestService_Test3 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /f/fpath: + get: + operationId: TestService_Test1 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev2Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /e/epath: + get: + operationId: TestService_Test2 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev2Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /d/dpath: + get: + operationId: TestService_Test3 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev2Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + definitions: + examplev1Foo: + type: object + properties: + bar: + type: string + examplev2Foo: + type: object + properties: + bar: + type: string + +--- PASS: TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices (0.00s) + --- PASS: TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json (0.02s) + --- PASS: TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml (0.03s) +--- PASS: TestGenerateRPCOrderPreservedMergeFiles (0.00s) + --- PASS: TestGenerateRPCOrderPreservedMergeFiles/json (0.01s) + --- PASS: TestGenerateRPCOrderPreservedMergeFiles/yaml (0.01s) +--- PASS: TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices (0.00s) + --- PASS: TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json (0.02s) --- PASS: TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml (0.03s) -=== NAME TestGenerateRPCOrderPreservedMultipleServices/yaml - generator_test.go:620: swagger: "2.0" +=== NAME TestGenerateRPCOrderNotPreserved/yaml + generator_test.go:491: swagger: "2.0" info: title: exampleproto/v1/example.proto version: version not set tags: - - name: TestServiceOne - - name: TestServiceTwo + - name: TestService consumes: - application/json produces: - application/json paths: - /d/first: + /a/second: get: - operationId: TestServiceOne_Test1 + operationId: TestService_Test2 responses: "200": description: A successful response. @@ -5209,10 +5183,10 @@ required: false type: string tags: - - TestServiceOne - /e/second: + - TestService + /b/first: get: - operationId: TestServiceOne_Test2 + operationId: TestService_Test1 responses: "200": description: A successful response. @@ -5224,10 +5198,10 @@ required: false type: string tags: - - TestServiceOne + - TestService /c/third: get: - operationId: TestServiceOne_Test3 + operationId: TestService_Test3 responses: "200": description: A successful response. @@ -5239,10 +5213,32 @@ required: false type: string tags: - - TestServiceOne - /b/first: + - TestService + definitions: + v1Foo: + type: object + properties: + bar: + type: string + +--- PASS: TestGenerateRPCOrderNotPreserved (0.00s) + --- PASS: TestGenerateRPCOrderNotPreserved/json (0.00s) + --- PASS: TestGenerateRPCOrderNotPreserved/yaml (0.01s) +=== NAME TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml + generator_test.go:1375: swagger: "2.0" + info: + title: exampleproto/v1/example.proto + version: version not set + tags: + - name: TestService + consumes: + - application/json + produces: + - application/json + paths: + /a/additional: get: - operationId: TestServiceTwo_Test1 + operationId: TestService_Test12 responses: "200": description: A successful response. @@ -5254,10 +5250,10 @@ required: false type: string tags: - - TestServiceTwo + - TestService /a/second: get: - operationId: TestServiceTwo_Test2 + operationId: TestService_Test2 responses: "200": description: A successful response. @@ -5269,10 +5265,10 @@ required: false type: string tags: - - TestServiceTwo - /g/third: + - TestService + /b/bAdditional: get: - operationId: TestServiceTwo_Test3 + operationId: TestService_Test32 responses: "200": description: A successful response. @@ -5284,7 +5280,52 @@ required: false type: string tags: - - TestServiceTwo + - TestService + /b/first: + get: + operationId: TestService_Test1 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /c/third: + get: + operationId: TestService_Test3 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /z/zAdditional: + get: + operationId: TestService_Test22 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService definitions: v1Foo: type: object @@ -5292,11 +5333,11 @@ bar: type: string ---- PASS: TestGenerateRPCOrderPreservedMultipleServices (0.01s) - --- PASS: TestGenerateRPCOrderPreservedMultipleServices/json (0.00s) - --- PASS: TestGenerateRPCOrderPreservedMultipleServices/yaml (0.01s) -=== NAME TestGenerateRPCOrderNotPreservedMergeFiles/yaml - generator_test.go:1062: swagger: "2.0" +--- PASS: TestGenerateRPCOrderNotPreservedAdditionalBindings (0.00s) + --- PASS: TestGenerateRPCOrderNotPreservedAdditionalBindings/json (0.01s) + --- PASS: TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml (0.01s) +=== NAME TestGenerateRPCOrderPreservedAdditionalBindings/yaml + generator_test.go:1168: swagger: "2.0" info: title: exampleproto/v1/example.proto version: version not set @@ -5307,14 +5348,14 @@ produces: - application/json paths: - /a/apath: + /b/first: get: - operationId: TestService_Test3 + operationId: TestService_Test1 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev1Foo' + $ref: '#/definitions/v1Foo' parameters: - name: bar in: query @@ -5322,14 +5363,14 @@ type: string tags: - TestService - /b/bpath: + /a/additional: get: - operationId: TestService_Test2 + operationId: TestService_Test12 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev1Foo' + $ref: '#/definitions/v1Foo' parameters: - name: bar in: query @@ -5337,14 +5378,14 @@ type: string tags: - TestService - /c/cpath: + /a/second: get: - operationId: TestService_Test1 + operationId: TestService_Test2 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev1Foo' + $ref: '#/definitions/v1Foo' parameters: - name: bar in: query @@ -5352,14 +5393,14 @@ type: string tags: - TestService - /d/dpath: + /z/zAdditional: get: - operationId: TestService_Test3 + operationId: TestService_Test22 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev2Foo' + $ref: '#/definitions/v1Foo' parameters: - name: bar in: query @@ -5367,14 +5408,14 @@ type: string tags: - TestService - /e/epath: + /c/third: get: - operationId: TestService_Test2 + operationId: TestService_Test3 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev2Foo' + $ref: '#/definitions/v1Foo' parameters: - name: bar in: query @@ -5382,14 +5423,14 @@ type: string tags: - TestService - /f/fpath: + /b/bAdditional: get: - operationId: TestService_Test1 + operationId: TestService_Test32 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev2Foo' + $ref: '#/definitions/v1Foo' parameters: - name: bar in: query @@ -5398,20 +5439,15 @@ tags: - TestService definitions: - examplev1Foo: - type: object - properties: - bar: - type: string - examplev2Foo: + v1Foo: type: object properties: bar: type: string ---- PASS: TestGenerateRPCOrderNotPreservedMergeFiles (0.01s) - --- PASS: TestGenerateRPCOrderNotPreservedMergeFiles/json (0.01s) - --- PASS: TestGenerateRPCOrderNotPreservedMergeFiles/yaml (0.02s) +--- PASS: TestGenerateRPCOrderPreservedAdditionalBindings (0.00s) + --- PASS: TestGenerateRPCOrderPreservedAdditionalBindings/json (0.01s) + --- PASS: TestGenerateRPCOrderPreservedAdditionalBindings/yaml (0.01s) === RUN FuzzRemoveInternalComments === RUN FuzzRemoveInternalComments/seed#0 === RUN FuzzRemoveInternalComments/seed#1 @@ -5425,7 +5461,7 @@ --- PASS: FuzzRemoveInternalComments/seed#3 (0.00s) --- PASS: FuzzRemoveInternalComments/seed#4 (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/internal/genopenapi 0.179s +ok github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/internal/genopenapi 0.185s === RUN TestFieldMaskFromRequestBody === RUN TestFieldMaskFromRequestBody/empty === RUN TestFieldMaskFromRequestBody/EmptyMessage @@ -5471,19 +5507,19 @@ === RUN TestNewPattern --- PASS: TestNewPattern (0.00s) === RUN TestNewPatternWithWrongOp -2024/12/29 07:55:01 ERROR: invalid opcode: -1 -2024/12/29 07:55:01 ERROR: invalid opcode: 6 -2024/12/29 07:55:01 ERROR: odd number of ops codes: 1 -2024/12/29 07:55:01 ERROR: negative literal index: -1 -2024/12/29 07:55:01 ERROR: negative literal index: 1 -2024/12/29 07:55:01 ERROR: negative concat size: -1 -2024/12/29 07:55:01 ERROR: variable name index out of bound: -1 -2024/12/29 07:55:01 ERROR: variable name index out of bound: 1 -2024/12/29 07:55:01 ERROR: pushM appears twice +2026/01/31 14:19:31 ERROR: invalid opcode: -1 +2026/01/31 14:19:31 ERROR: invalid opcode: 6 +2026/01/31 14:19:31 ERROR: odd number of ops codes: 1 +2026/01/31 14:19:31 ERROR: negative literal index: -1 +2026/01/31 14:19:31 ERROR: negative literal index: 1 +2026/01/31 14:19:31 ERROR: negative concat size: -1 +2026/01/31 14:19:31 ERROR: variable name index out of bound: -1 +2026/01/31 14:19:31 ERROR: variable name index out of bound: 1 +2026/01/31 14:19:31 ERROR: pushM appears twice --- PASS: TestNewPatternWithWrongOp (0.00s) === RUN TestNewPatternWithStackUnderflow -2024/12/29 07:55:01 ERROR: stack underflow -2024/12/29 07:55:01 ERROR: stack underflow +2026/01/31 14:19:31 ERROR: stack underflow +2026/01/31 14:19:31 ERROR: stack underflow --- PASS: TestNewPatternWithStackUnderflow (0.00s) === RUN TestMatch --- PASS: TestMatch (0.00s) @@ -5545,15 +5581,15 @@ --- PASS: TestConvertDuration/JSON_bool (0.00s) === RUN TestDefaultHTTPError === RUN TestDefaultHTTPError/0 -2024/12/29 07:55:01 ERROR: Failed to extract ServerMetadata from context +2026/01/31 14:19:31 ERROR: Failed to extract ServerMetadata from context === RUN TestDefaultHTTPError/1 -2024/12/29 07:55:01 ERROR: Failed to extract ServerMetadata from context +2026/01/31 14:19:31 ERROR: Failed to extract ServerMetadata from context === RUN TestDefaultHTTPError/2 -2024/12/29 07:55:01 ERROR: Failed to extract ServerMetadata from context +2026/01/31 14:19:31 ERROR: Failed to extract ServerMetadata from context === RUN TestDefaultHTTPError/3 -2024/12/29 07:55:01 ERROR: Failed to extract ServerMetadata from context +2026/01/31 14:19:31 ERROR: Failed to extract ServerMetadata from context === RUN TestDefaultHTTPError/4 -2024/12/29 07:55:01 ERROR: Failed to extract ServerMetadata from context +2026/01/31 14:19:31 ERROR: Failed to extract ServerMetadata from context --- PASS: TestDefaultHTTPError (0.00s) --- PASS: TestDefaultHTTPError/0 (0.00s) --- PASS: TestDefaultHTTPError/1 (0.00s) @@ -5642,7 +5678,7 @@ === RUN TestJSONPbUnmarshalFields --- PASS: TestJSONPbUnmarshalFields (0.00s) === RUN TestJSONPbEncoder ---- PASS: TestJSONPbEncoder (0.00s) +--- PASS: TestJSONPbEncoder (0.01s) === RUN TestJSONPbEncoderFields --- PASS: TestJSONPbEncoderFields (0.00s) === RUN TestJSONPbDecoder @@ -5689,41 +5725,41 @@ --- PASS: TestMarshalerForRequest (0.00s) === RUN TestMuxServeHTTP === RUN TestMuxServeHTTP/0 -2024/12/29 07:55:01 ERROR: Failed to extract ServerMetadata from context +2026/01/31 14:19:31 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/1 === RUN TestMuxServeHTTP/2 -2024/12/29 07:55:01 ERROR: Failed to extract ServerMetadata from context +2026/01/31 14:19:31 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/3 === RUN TestMuxServeHTTP/4 === RUN TestMuxServeHTTP/5 -2024/12/29 07:55:01 ERROR: Failed to extract ServerMetadata from context +2026/01/31 14:19:31 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/6 -2024/12/29 07:55:01 ERROR: Failed to extract ServerMetadata from context +2026/01/31 14:19:31 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/7 === RUN TestMuxServeHTTP/8 -2024/12/29 07:55:01 ERROR: Failed to extract ServerMetadata from context +2026/01/31 14:19:31 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/9 === RUN TestMuxServeHTTP/10 === RUN TestMuxServeHTTP/11 === RUN TestMuxServeHTTP/12 -2024/12/29 07:55:01 ERROR: Failed to extract ServerMetadata from context +2026/01/31 14:19:31 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/13 -2024/12/29 07:55:01 ERROR: Failed to extract ServerMetadata from context +2026/01/31 14:19:31 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/14 === RUN TestMuxServeHTTP/15 === RUN TestMuxServeHTTP/16 === RUN TestMuxServeHTTP/17 === RUN TestMuxServeHTTP/18 === RUN TestMuxServeHTTP/19 -2024/12/29 07:55:01 ERROR: Failed to extract ServerMetadata from context +2026/01/31 14:19:31 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/20 === RUN TestMuxServeHTTP/21 -2024/12/29 07:55:01 ERROR: Failed to extract ServerMetadata from context +2026/01/31 14:19:31 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/22 === RUN TestMuxServeHTTP/23 -2024/12/29 07:55:01 ERROR: Failed to extract ServerMetadata from context +2026/01/31 14:19:31 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/24 -2024/12/29 07:55:01 ERROR: Failed to extract ServerMetadata from context +2026/01/31 14:19:31 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/25 === RUN TestMuxServeHTTP/26 === RUN TestMuxServeHTTP/27 @@ -5757,7 +5793,7 @@ --- PASS: TestMuxServeHTTP/26 (0.00s) --- PASS: TestMuxServeHTTP/27 (0.00s) === RUN TestServeHTTP_WithMethodOverrideAndFormParsing -2024/12/29 07:55:01 ERROR: Failed to extract ServerMetadata from context +2026/01/31 14:19:31 ERROR: Failed to extract ServerMetadata from context --- PASS: TestServeHTTP_WithMethodOverrideAndFormParsing (0.00s) === RUN TestDefaultHeaderMatcher === RUN TestDefaultHeaderMatcher/permanent_HTTP_header_should_return_prefixed @@ -5781,14 +5817,14 @@ --- PASS: TestServeMux_HandlePath/Invalid_Endpoint (0.00s) === RUN TestWithHealthzEndpoint_codes === RUN TestWithHealthzEndpoint_codes/Test_grpc_error_code -2024/12/29 07:55:01 ERROR: Failed to extract ServerMetadata from context +2026/01/31 14:19:31 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthzEndpoint_codes/Test_HealthCheckResponse_SERVING === RUN TestWithHealthzEndpoint_codes/Test_HealthCheckResponse_NOT_SERVING -2024/12/29 07:55:01 ERROR: Failed to extract ServerMetadata from context +2026/01/31 14:19:31 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthzEndpoint_codes/Test_HealthCheckResponse_UNKNOWN -2024/12/29 07:55:01 ERROR: Failed to extract ServerMetadata from context +2026/01/31 14:19:31 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthzEndpoint_codes/Test_HealthCheckResponse_SERVICE_UNKNOWN -2024/12/29 07:55:01 ERROR: Failed to extract ServerMetadata from context +2026/01/31 14:19:31 ERROR: Failed to extract ServerMetadata from context --- PASS: TestWithHealthzEndpoint_codes (0.00s) --- PASS: TestWithHealthzEndpoint_codes/Test_grpc_error_code (0.00s) --- PASS: TestWithHealthzEndpoint_codes/Test_HealthCheckResponse_SERVING (0.00s) @@ -5797,18 +5833,18 @@ --- PASS: TestWithHealthzEndpoint_codes/Test_HealthCheckResponse_SERVICE_UNKNOWN (0.00s) === RUN TestWithHealthEndpointAt_consistentWithHealthz === RUN TestWithHealthEndpointAt_consistentWithHealthz/Test_grpc_error_code -2024/12/29 07:55:01 ERROR: Failed to extract ServerMetadata from context -2024/12/29 07:55:01 ERROR: Failed to extract ServerMetadata from context +2026/01/31 14:19:31 ERROR: Failed to extract ServerMetadata from context +2026/01/31 14:19:31 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_SERVING === RUN TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_NOT_SERVING -2024/12/29 07:55:01 ERROR: Failed to extract ServerMetadata from context -2024/12/29 07:55:01 ERROR: Failed to extract ServerMetadata from context +2026/01/31 14:19:31 ERROR: Failed to extract ServerMetadata from context +2026/01/31 14:19:31 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_UNKNOWN -2024/12/29 07:55:01 ERROR: Failed to extract ServerMetadata from context -2024/12/29 07:55:01 ERROR: Failed to extract ServerMetadata from context +2026/01/31 14:19:31 ERROR: Failed to extract ServerMetadata from context +2026/01/31 14:19:31 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_SERVICE_UNKNOWN -2024/12/29 07:55:01 ERROR: Failed to extract ServerMetadata from context -2024/12/29 07:55:01 ERROR: Failed to extract ServerMetadata from context +2026/01/31 14:19:31 ERROR: Failed to extract ServerMetadata from context +2026/01/31 14:19:31 ERROR: Failed to extract ServerMetadata from context --- PASS: TestWithHealthEndpointAt_consistentWithHealthz (0.00s) --- PASS: TestWithHealthEndpointAt_consistentWithHealthz/Test_grpc_error_code (0.00s) --- PASS: TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_SERVING (0.00s) @@ -5816,18 +5852,18 @@ --- PASS: TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_UNKNOWN (0.00s) --- PASS: TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_SERVICE_UNKNOWN (0.00s) === RUN TestWithHealthzEndpoint_serviceParam -2024/12/29 07:55:01 ERROR: Failed to extract ServerMetadata from context +2026/01/31 14:19:31 ERROR: Failed to extract ServerMetadata from context --- PASS: TestWithHealthzEndpoint_serviceParam (0.00s) === RUN TestWithHealthzEndpoint_header === RUN TestWithHealthzEndpoint_header/Test_grpc_error_code -2024/12/29 07:55:01 ERROR: Failed to extract ServerMetadata from context +2026/01/31 14:19:31 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthzEndpoint_header/Test_HealthCheckResponse_SERVING === RUN TestWithHealthzEndpoint_header/Test_HealthCheckResponse_NOT_SERVING -2024/12/29 07:55:01 ERROR: Failed to extract ServerMetadata from context +2026/01/31 14:19:31 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthzEndpoint_header/Test_HealthCheckResponse_UNKNOWN -2024/12/29 07:55:01 ERROR: Failed to extract ServerMetadata from context +2026/01/31 14:19:31 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthzEndpoint_header/Test_HealthCheckResponse_SERVICE_UNKNOWN -2024/12/29 07:55:01 ERROR: Failed to extract ServerMetadata from context +2026/01/31 14:19:31 ERROR: Failed to extract ServerMetadata from context --- PASS: TestWithHealthzEndpoint_header (0.00s) --- PASS: TestWithHealthzEndpoint_header/Test_grpc_error_code (0.00s) --- PASS: TestWithHealthzEndpoint_header/Test_HealthCheckResponse_SERVING (0.00s) @@ -5877,29 +5913,29 @@ === RUN TestPopulateQueryParametersWithInvalidNestedParameters --- PASS: TestPopulateQueryParametersWithInvalidNestedParameters (0.00s) === CONT TestOutgoingHeaderMatcher -=== CONT TestOutgoingTrailerMatcher === RUN TestOutgoingHeaderMatcher/default_matcher -=== PAUSE TestOutgoingHeaderMatcher/default_matcher +=== CONT TestOutgoingTrailerMatcher === RUN TestOutgoingTrailerMatcher/default_matcher,_caller_accepts -=== RUN TestOutgoingHeaderMatcher/custom_matcher +=== PAUSE TestOutgoingHeaderMatcher/default_matcher === PAUSE TestOutgoingTrailerMatcher/default_matcher,_caller_accepts +=== RUN TestOutgoingHeaderMatcher/custom_matcher +=== PAUSE TestOutgoingHeaderMatcher/custom_matcher +=== CONT TestOutgoingHeaderMatcher/default_matcher === RUN TestOutgoingTrailerMatcher/default_matcher,_caller_rejects +=== CONT TestOutgoingHeaderMatcher/custom_matcher === PAUSE TestOutgoingTrailerMatcher/default_matcher,_caller_rejects === RUN TestOutgoingTrailerMatcher/custom_matcher === PAUSE TestOutgoingTrailerMatcher/custom_matcher === CONT TestOutgoingTrailerMatcher/default_matcher,_caller_accepts -=== CONT TestOutgoingTrailerMatcher/custom_matcher === CONT TestOutgoingTrailerMatcher/default_matcher,_caller_rejects -=== PAUSE TestOutgoingHeaderMatcher/custom_matcher +--- PASS: TestOutgoingHeaderMatcher (0.00s) + --- PASS: TestOutgoingHeaderMatcher/default_matcher (0.00s) + --- PASS: TestOutgoingHeaderMatcher/custom_matcher (0.00s) +=== CONT TestOutgoingTrailerMatcher/custom_matcher --- PASS: TestOutgoingTrailerMatcher (0.00s) --- PASS: TestOutgoingTrailerMatcher/default_matcher,_caller_accepts (0.00s) --- PASS: TestOutgoingTrailerMatcher/default_matcher,_caller_rejects (0.00s) --- PASS: TestOutgoingTrailerMatcher/custom_matcher (0.00s) -=== CONT TestOutgoingHeaderMatcher/default_matcher -=== CONT TestOutgoingHeaderMatcher/custom_matcher ---- PASS: TestOutgoingHeaderMatcher (0.00s) - --- PASS: TestOutgoingHeaderMatcher/default_matcher (0.00s) - --- PASS: TestOutgoingHeaderMatcher/custom_matcher (0.00s) === RUN FuzzPopulateQueryParameters === RUN FuzzPopulateQueryParameters/seed#0 === RUN FuzzPopulateQueryParameters/seed#1 @@ -5921,7 +5957,7 @@ --- PASS: FuzzPopulateQueryParameters/seed#7 (0.00s) --- PASS: FuzzPopulateQueryParameters/seed#8 (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/runtime 0.067s +ok github.com/grpc-ecosystem/grpc-gateway/runtime 0.088s === RUN TestStringArrayFlag === RUN TestStringArrayFlag/No_Value === RUN TestStringArrayFlag/Single_Value @@ -5937,7 +5973,7 @@ === RUN TestAdd --- PASS: TestAdd (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/utilities 0.007s +ok github.com/grpc-ecosystem/grpc-gateway/utilities 0.006s create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=golang dh_prep -O--buildsystem=golang @@ -5980,12 +6016,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/2161286/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2161286/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/2274176 and its subdirectories -I: Current time: Sat Dec 28 19:55:23 -12 2024 -I: pbuilder-time-stamp: 1735458923 +I: removing directory /srv/workspace/pbuilder/2161286 and its subdirectories +I: Current time: Sun Feb 1 04:19:54 +14 2026 +I: pbuilder-time-stamp: 1769869194