Created
October 10, 2024 15:16
-
-
Save Andrew7234/693ad1ba11026c737092677df86a138d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/oasis/oasis-block-indexer/api/v1/types(main*) » diff server.gen.go /tmp/server.new.gen.go andrewlow@Beleriand | |
12d11 | |
< codegen_runtime "github.com/deepmap/oapi-codegen/pkg/runtime" | |
13a13,14 | |
> codegen_runtime "github.com/oapi-codegen/runtime" | |
> strictnethttp "github.com/oapi-codegen/runtime/strictmiddleware/nethttp" | |
141a143,342 | |
> } | |
> | |
> // Unimplemented server implementation that returns http.StatusNotImplemented for each endpoint. | |
> | |
> type Unimplemented struct{} | |
> | |
> // Returns the status of indexing. | |
> // (GET /) | |
> func (_ Unimplemented) GetStatus(w http.ResponseWriter, r *http.Request) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
> } | |
> | |
> // Returns a list of consensus layer accounts. | |
> // Note that for performance reasons, the info returned by this endpoint | |
> // may be slightly stale (<2 minutes). For the most up-to-date account state, | |
> // query the single-account endpoint. | |
> // (GET /consensus/accounts) | |
> func (_ Unimplemented) GetConsensusAccounts(w http.ResponseWriter, r *http.Request, params GetConsensusAccountsParams) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
> } | |
> | |
> // Returns a consensus layer account. | |
> // (GET /consensus/accounts/{address}) | |
> func (_ Unimplemented) GetConsensusAccountsAddress(w http.ResponseWriter, r *http.Request, address StakingAddress) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
> } | |
> | |
> // Returns an account's debonding delegations. | |
> // (GET /consensus/accounts/{address}/debonding_delegations) | |
> func (_ Unimplemented) GetConsensusAccountsAddressDebondingDelegations(w http.ResponseWriter, r *http.Request, address StakingAddress, params GetConsensusAccountsAddressDebondingDelegationsParams) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
> } | |
> | |
> // Returns a list of debonding delegations to an account. | |
> // (GET /consensus/accounts/{address}/debonding_delegations_to) | |
> func (_ Unimplemented) GetConsensusAccountsAddressDebondingDelegationsTo(w http.ResponseWriter, r *http.Request, address StakingAddress, params GetConsensusAccountsAddressDebondingDelegationsToParams) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
> } | |
> | |
> // Returns an account's delegations. | |
> // (GET /consensus/accounts/{address}/delegations) | |
> func (_ Unimplemented) GetConsensusAccountsAddressDelegations(w http.ResponseWriter, r *http.Request, address StakingAddress, params GetConsensusAccountsAddressDelegationsParams) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
> } | |
> | |
> // Returns a list of delegations to an account. | |
> // (GET /consensus/accounts/{address}/delegations_to) | |
> func (_ Unimplemented) GetConsensusAccountsAddressDelegationsTo(w http.ResponseWriter, r *http.Request, address StakingAddress, params GetConsensusAccountsAddressDelegationsToParams) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
> } | |
> | |
> // Returns a list of consensus blocks, sorted from most to least recent. | |
> // (GET /consensus/blocks) | |
> func (_ Unimplemented) GetConsensusBlocks(w http.ResponseWriter, r *http.Request, params GetConsensusBlocksParams) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
> } | |
> | |
> // Returns a consensus block. | |
> // (GET /consensus/blocks/{height}) | |
> func (_ Unimplemented) GetConsensusBlocksHeight(w http.ResponseWriter, r *http.Request, height int64) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
> } | |
> | |
> // Returns a list of entities registered at the consensus layer. | |
> // (GET /consensus/entities) | |
> func (_ Unimplemented) GetConsensusEntities(w http.ResponseWriter, r *http.Request, params GetConsensusEntitiesParams) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
> } | |
> | |
> // Returns an entity registered at the consensus layer. | |
> // (GET /consensus/entities/{address}) | |
> func (_ Unimplemented) GetConsensusEntitiesAddress(w http.ResponseWriter, r *http.Request, address StakingAddress) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
> } | |
> | |
> // Returns a list of nodes registered at the consensus layer. | |
> // (GET /consensus/entities/{address}/nodes) | |
> func (_ Unimplemented) GetConsensusEntitiesAddressNodes(w http.ResponseWriter, r *http.Request, address StakingAddress, params GetConsensusEntitiesAddressNodesParams) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
> } | |
> | |
> // Returns a node registered at the consensus layer. | |
> // (GET /consensus/entities/{address}/nodes/{node_id}) | |
> func (_ Unimplemented) GetConsensusEntitiesAddressNodesNodeId(w http.ResponseWriter, r *http.Request, address StakingAddress, nodeId Ed25519PubKey) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
> } | |
> | |
> // Returns a list of consensus epochs. | |
> // (GET /consensus/epochs) | |
> func (_ Unimplemented) GetConsensusEpochs(w http.ResponseWriter, r *http.Request, params GetConsensusEpochsParams) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
> } | |
> | |
> // Returns a consensus epoch. | |
> // (GET /consensus/epochs/{epoch}) | |
> func (_ Unimplemented) GetConsensusEpochsEpoch(w http.ResponseWriter, r *http.Request, epoch int64) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
> } | |
> | |
> // Returns a list of consensus events. | |
> // (GET /consensus/events) | |
> func (_ Unimplemented) GetConsensusEvents(w http.ResponseWriter, r *http.Request, params GetConsensusEventsParams) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
> } | |
> | |
> // Returns a list of governance proposals. | |
> // (GET /consensus/proposals) | |
> func (_ Unimplemented) GetConsensusProposals(w http.ResponseWriter, r *http.Request, params GetConsensusProposalsParams) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
> } | |
> | |
> // Returns a governance proposal. | |
> // (GET /consensus/proposals/{proposal_id}) | |
> func (_ Unimplemented) GetConsensusProposalsProposalId(w http.ResponseWriter, r *http.Request, proposalId uint64) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
> } | |
> | |
> // Returns a list of votes for a governance proposal. | |
> // (GET /consensus/proposals/{proposal_id}/votes) | |
> func (_ Unimplemented) GetConsensusProposalsProposalIdVotes(w http.ResponseWriter, r *http.Request, proposalId uint64, params GetConsensusProposalsProposalIdVotesParams) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
> } | |
> | |
> // (GET /consensus/roothash_messages) | |
> func (_ Unimplemented) GetConsensusRoothashMessages(w http.ResponseWriter, r *http.Request, params GetConsensusRoothashMessagesParams) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
> } | |
> | |
> // Returns a list of consensus transactions. | |
> // (GET /consensus/transactions) | |
> func (_ Unimplemented) GetConsensusTransactions(w http.ResponseWriter, r *http.Request, params GetConsensusTransactionsParams) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
> } | |
> | |
> // Returns consensus transactions with the given transaction hash. | |
> // (GET /consensus/transactions/{tx_hash}) | |
> func (_ Unimplemented) GetConsensusTransactionsTxHash(w http.ResponseWriter, r *http.Request, txHash string) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
> } | |
> | |
> // Returns a list of validators registered at the consensus layer (the list includes all registered entities, even those without a currently active validator node). | |
> // (GET /consensus/validators) | |
> func (_ Unimplemented) GetConsensusValidators(w http.ResponseWriter, r *http.Request, params GetConsensusValidatorsParams) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
> } | |
> | |
> // Returns a validator registered at the consensus layer. | |
> // (GET /consensus/validators/{address}) | |
> func (_ Unimplemented) GetConsensusValidatorsAddress(w http.ResponseWriter, r *http.Request, address StakingAddress) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
> } | |
> | |
> // Returns historical information for a single validator. | |
> // (GET /consensus/validators/{address}/history) | |
> func (_ Unimplemented) GetConsensusValidatorsAddressHistory(w http.ResponseWriter, r *http.Request, address StakingAddress, params GetConsensusValidatorsAddressHistoryParams) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
> } | |
> | |
> // Returns a (sliding) timeline of the recorded daily unique active accounts for | |
> // either consensus or one of the paratimes. | |
> // (GET /{layer}/stats/active_accounts) | |
> func (_ Unimplemented) GetLayerStatsActiveAccounts(w http.ResponseWriter, r *http.Request, layer Layer, params GetLayerStatsActiveAccountsParams) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
> } | |
> | |
> // Returns a timeline of the transaction volume at the chosen granularity, | |
> // for either consensus or one of the paratimes. | |
> // (GET /{layer}/stats/tx_volume) | |
> func (_ Unimplemented) GetLayerStatsTxVolume(w http.ResponseWriter, r *http.Request, layer Layer, params GetLayerStatsTxVolumeParams) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
> } | |
> | |
> // Returns a runtime account. | |
> // (GET /{runtime}/accounts/{address}) | |
> func (_ Unimplemented) GetRuntimeAccountsAddress(w http.ResponseWriter, r *http.Request, runtime Runtime, address EthOrOasisAddress) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
> } | |
> | |
> // Returns the list of non-fungible token (NFT) instances owned by an account. | |
> // (GET /{runtime}/accounts/{address}/nfts) | |
> func (_ Unimplemented) GetRuntimeAccountsAddressNfts(w http.ResponseWriter, r *http.Request, runtime Runtime, address EthOrOasisAddress, params GetRuntimeAccountsAddressNftsParams) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
> } | |
> | |
> // Returns a list of Runtime blocks. | |
> // (GET /{runtime}/blocks) | |
> func (_ Unimplemented) GetRuntimeBlocks(w http.ResponseWriter, r *http.Request, runtime Runtime, params GetRuntimeBlocksParams) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
> } | |
> | |
> // Returns a list of runtime events. | |
> // (GET /{runtime}/events) | |
> func (_ Unimplemented) GetRuntimeEvents(w http.ResponseWriter, r *http.Request, runtime Runtime, params GetRuntimeEventsParams) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
> } | |
> | |
> // Returns a list of EVM (ERC-20, ...) tokens on the runtime. | |
> // (GET /{runtime}/evm_tokens) | |
> func (_ Unimplemented) GetRuntimeEvmTokens(w http.ResponseWriter, r *http.Request, runtime Runtime, params GetRuntimeEvmTokensParams) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
143a345,388 | |
> // Returns info on an EVM (ERC-20, ...) token on the runtime. | |
> // (GET /{runtime}/evm_tokens/{address}) | |
> func (_ Unimplemented) GetRuntimeEvmTokensAddress(w http.ResponseWriter, r *http.Request, runtime Runtime, address EthOrOasisAddress) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
> } | |
> | |
> // Returns the list of holders of an EVM (ERC-20, ...) token. | |
> // This endpoint does not verify that `address` is actually an EVM token; if it is not, it will simply return an empty list. | |
> // (GET /{runtime}/evm_tokens/{address}/holders) | |
> func (_ Unimplemented) GetRuntimeEvmTokensAddressHolders(w http.ResponseWriter, r *http.Request, runtime Runtime, address EthOrOasisAddress, params GetRuntimeEvmTokensAddressHoldersParams) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
> } | |
> | |
> // Returns the list of non-fungible token (NFT) instances of an EVM (ERC-721, ...) token. | |
> // This endpoint does not verify that `address` is actually an EVM token; if it is not, it will simply return an empty list. | |
> // (GET /{runtime}/evm_tokens/{address}/nfts) | |
> func (_ Unimplemented) GetRuntimeEvmTokensAddressNfts(w http.ResponseWriter, r *http.Request, runtime Runtime, address EthOrOasisAddress, params GetRuntimeEvmTokensAddressNftsParams) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
> } | |
> | |
> // Returns the non-fungible token (NFT) instance of an EVM (ERC-721, ...) token. | |
> // (GET /{runtime}/evm_tokens/{address}/nfts/{id}) | |
> func (_ Unimplemented) GetRuntimeEvmTokensAddressNftsId(w http.ResponseWriter, r *http.Request, runtime Runtime, address EthOrOasisAddress, id TextBigInt) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
> } | |
> | |
> // Returns the runtime status. | |
> // (GET /{runtime}/status) | |
> func (_ Unimplemented) GetRuntimeStatus(w http.ResponseWriter, r *http.Request, runtime Runtime) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
> } | |
> | |
> // Returns a list of Runtime transactions. | |
> // (GET /{runtime}/transactions) | |
> func (_ Unimplemented) GetRuntimeTransactions(w http.ResponseWriter, r *http.Request, runtime Runtime, params GetRuntimeTransactionsParams) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
> } | |
> | |
> // Returns runtime transactions with the given transaction hash. | |
> // (GET /{runtime}/transactions/{tx_hash}) | |
> func (_ Unimplemented) GetRuntimeTransactionsTxHash(w http.ResponseWriter, r *http.Request, runtime Runtime, txHash string) { | |
> w.WriteHeader(http.StatusNotImplemented) | |
> } | |
> | |
155d399 | |
< ctx := r.Context() | |
157c401 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
159c403 | |
< }) | |
--- | |
> })) | |
165c409 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
170d413 | |
< ctx := r.Context() | |
193c436 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
195c438 | |
< }) | |
--- | |
> })) | |
201c444 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
206d448 | |
< ctx := r.Context() | |
213c455 | |
< err = codegen_runtime.BindStyledParameterWithLocation("simple", false, "address", codegen_runtime.ParamLocationPath, chi.URLParam(r, "address"), &address) | |
--- | |
> err = codegen_runtime.BindStyledParameterWithOptions("simple", "address", chi.URLParam(r, "address"), &address, codegen_runtime.BindStyledParameterOptions{ParamLocation: codegen_runtime.ParamLocationPath, Explode: false, Required: true}) | |
219c461 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
221c463 | |
< }) | |
--- | |
> })) | |
227c469 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
232d473 | |
< ctx := r.Context() | |
239c480 | |
< err = codegen_runtime.BindStyledParameterWithLocation("simple", false, "address", codegen_runtime.ParamLocationPath, chi.URLParam(r, "address"), &address) | |
--- | |
> err = codegen_runtime.BindStyledParameterWithOptions("simple", "address", chi.URLParam(r, "address"), &address, codegen_runtime.BindStyledParameterOptions{ParamLocation: codegen_runtime.ParamLocationPath, Explode: false, Required: true}) | |
264c505 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
266c507 | |
< }) | |
--- | |
> })) | |
272c513 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
277d517 | |
< ctx := r.Context() | |
284c524 | |
< err = codegen_runtime.BindStyledParameterWithLocation("simple", false, "address", codegen_runtime.ParamLocationPath, chi.URLParam(r, "address"), &address) | |
--- | |
> err = codegen_runtime.BindStyledParameterWithOptions("simple", "address", chi.URLParam(r, "address"), &address, codegen_runtime.BindStyledParameterOptions{ParamLocation: codegen_runtime.ParamLocationPath, Explode: false, Required: true}) | |
309c549 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
311c551 | |
< }) | |
--- | |
> })) | |
317c557 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
322d561 | |
< ctx := r.Context() | |
329c568 | |
< err = codegen_runtime.BindStyledParameterWithLocation("simple", false, "address", codegen_runtime.ParamLocationPath, chi.URLParam(r, "address"), &address) | |
--- | |
> err = codegen_runtime.BindStyledParameterWithOptions("simple", "address", chi.URLParam(r, "address"), &address, codegen_runtime.BindStyledParameterOptions{ParamLocation: codegen_runtime.ParamLocationPath, Explode: false, Required: true}) | |
354c593 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
356c595 | |
< }) | |
--- | |
> })) | |
362c601 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
367d605 | |
< ctx := r.Context() | |
374c612 | |
< err = codegen_runtime.BindStyledParameterWithLocation("simple", false, "address", codegen_runtime.ParamLocationPath, chi.URLParam(r, "address"), &address) | |
--- | |
> err = codegen_runtime.BindStyledParameterWithOptions("simple", "address", chi.URLParam(r, "address"), &address, codegen_runtime.BindStyledParameterOptions{ParamLocation: codegen_runtime.ParamLocationPath, Explode: false, Required: true}) | |
399c637 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
401c639 | |
< }) | |
--- | |
> })) | |
407c645 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
412d649 | |
< ctx := r.Context() | |
475c712 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
477c714 | |
< }) | |
--- | |
> })) | |
483c720 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
488d724 | |
< ctx := r.Context() | |
495c731 | |
< err = codegen_runtime.BindStyledParameterWithLocation("simple", false, "height", codegen_runtime.ParamLocationPath, chi.URLParam(r, "height"), &height) | |
--- | |
> err = codegen_runtime.BindStyledParameterWithOptions("simple", "height", chi.URLParam(r, "height"), &height, codegen_runtime.BindStyledParameterOptions{ParamLocation: codegen_runtime.ParamLocationPath, Explode: false, Required: true}) | |
501c737 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
503c739 | |
< }) | |
--- | |
> })) | |
509c745 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
514d749 | |
< ctx := r.Context() | |
537c772 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
539c774 | |
< }) | |
--- | |
> })) | |
545c780 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
550d784 | |
< ctx := r.Context() | |
557c791 | |
< err = codegen_runtime.BindStyledParameterWithLocation("simple", false, "address", codegen_runtime.ParamLocationPath, chi.URLParam(r, "address"), &address) | |
--- | |
> err = codegen_runtime.BindStyledParameterWithOptions("simple", "address", chi.URLParam(r, "address"), &address, codegen_runtime.BindStyledParameterOptions{ParamLocation: codegen_runtime.ParamLocationPath, Explode: false, Required: true}) | |
563c797 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
565c799 | |
< }) | |
--- | |
> })) | |
571c805 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
576d809 | |
< ctx := r.Context() | |
583c816 | |
< err = codegen_runtime.BindStyledParameterWithLocation("simple", false, "address", codegen_runtime.ParamLocationPath, chi.URLParam(r, "address"), &address) | |
--- | |
> err = codegen_runtime.BindStyledParameterWithOptions("simple", "address", chi.URLParam(r, "address"), &address, codegen_runtime.BindStyledParameterOptions{ParamLocation: codegen_runtime.ParamLocationPath, Explode: false, Required: true}) | |
608c841 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
610c843 | |
< }) | |
--- | |
> })) | |
616c849 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
621d853 | |
< ctx := r.Context() | |
628c860 | |
< err = codegen_runtime.BindStyledParameterWithLocation("simple", false, "address", codegen_runtime.ParamLocationPath, chi.URLParam(r, "address"), &address) | |
--- | |
> err = codegen_runtime.BindStyledParameterWithOptions("simple", "address", chi.URLParam(r, "address"), &address, codegen_runtime.BindStyledParameterOptions{ParamLocation: codegen_runtime.ParamLocationPath, Explode: false, Required: true}) | |
637c869 | |
< err = codegen_runtime.BindStyledParameterWithLocation("simple", false, "node_id", codegen_runtime.ParamLocationPath, chi.URLParam(r, "node_id"), &nodeId) | |
--- | |
> err = codegen_runtime.BindStyledParameterWithOptions("simple", "node_id", chi.URLParam(r, "node_id"), &nodeId, codegen_runtime.BindStyledParameterOptions{ParamLocation: codegen_runtime.ParamLocationPath, Explode: false, Required: true}) | |
643c875 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
645c877 | |
< }) | |
--- | |
> })) | |
651c883 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
656d887 | |
< ctx := r.Context() | |
679c910 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
681c912 | |
< }) | |
--- | |
> })) | |
687c918 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
692d922 | |
< ctx := r.Context() | |
699c929 | |
< err = codegen_runtime.BindStyledParameterWithLocation("simple", false, "epoch", codegen_runtime.ParamLocationPath, chi.URLParam(r, "epoch"), &epoch) | |
--- | |
> err = codegen_runtime.BindStyledParameterWithOptions("simple", "epoch", chi.URLParam(r, "epoch"), &epoch, codegen_runtime.BindStyledParameterOptions{ParamLocation: codegen_runtime.ParamLocationPath, Explode: false, Required: true}) | |
705c935 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
707c937 | |
< }) | |
--- | |
> })) | |
713c943 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
718d947 | |
< ctx := r.Context() | |
781c1010 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
783c1012 | |
< }) | |
--- | |
> })) | |
789c1018 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
794d1022 | |
< ctx := r.Context() | |
833c1061 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
835c1063 | |
< }) | |
--- | |
> })) | |
841c1069 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
846d1073 | |
< ctx := r.Context() | |
853c1080 | |
< err = codegen_runtime.BindStyledParameterWithLocation("simple", false, "proposal_id", codegen_runtime.ParamLocationPath, chi.URLParam(r, "proposal_id"), &proposalId) | |
--- | |
> err = codegen_runtime.BindStyledParameterWithOptions("simple", "proposal_id", chi.URLParam(r, "proposal_id"), &proposalId, codegen_runtime.BindStyledParameterOptions{ParamLocation: codegen_runtime.ParamLocationPath, Explode: false, Required: true}) | |
859c1086 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
861c1088 | |
< }) | |
--- | |
> })) | |
867c1094 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
872d1098 | |
< ctx := r.Context() | |
879c1105 | |
< err = codegen_runtime.BindStyledParameterWithLocation("simple", false, "proposal_id", codegen_runtime.ParamLocationPath, chi.URLParam(r, "proposal_id"), &proposalId) | |
--- | |
> err = codegen_runtime.BindStyledParameterWithOptions("simple", "proposal_id", chi.URLParam(r, "proposal_id"), &proposalId, codegen_runtime.BindStyledParameterOptions{ParamLocation: codegen_runtime.ParamLocationPath, Explode: false, Required: true}) | |
904c1130 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
906c1132 | |
< }) | |
--- | |
> })) | |
912c1138 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
917d1142 | |
< ctx := r.Context() | |
979c1204 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
981c1206 | |
< }) | |
--- | |
> })) | |
987c1212 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
992d1216 | |
< ctx := r.Context() | |
1063c1287 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
1065c1289 | |
< }) | |
--- | |
> })) | |
1071c1295 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
1076d1299 | |
< ctx := r.Context() | |
1083c1306 | |
< err = codegen_runtime.BindStyledParameterWithLocation("simple", false, "tx_hash", codegen_runtime.ParamLocationPath, chi.URLParam(r, "tx_hash"), &txHash) | |
--- | |
> err = codegen_runtime.BindStyledParameterWithOptions("simple", "tx_hash", chi.URLParam(r, "tx_hash"), &txHash, codegen_runtime.BindStyledParameterOptions{ParamLocation: codegen_runtime.ParamLocationPath, Explode: false, Required: true}) | |
1089c1312 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
1091c1314 | |
< }) | |
--- | |
> })) | |
1097c1320 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
1102d1324 | |
< ctx := r.Context() | |
1133c1355 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
1135c1357 | |
< }) | |
--- | |
> })) | |
1141c1363 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
1146d1367 | |
< ctx := r.Context() | |
1153c1374 | |
< err = codegen_runtime.BindStyledParameterWithLocation("simple", false, "address", codegen_runtime.ParamLocationPath, chi.URLParam(r, "address"), &address) | |
--- | |
> err = codegen_runtime.BindStyledParameterWithOptions("simple", "address", chi.URLParam(r, "address"), &address, codegen_runtime.BindStyledParameterOptions{ParamLocation: codegen_runtime.ParamLocationPath, Explode: false, Required: true}) | |
1159c1380 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
1161c1382 | |
< }) | |
--- | |
> })) | |
1167c1388 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
1172d1392 | |
< ctx := r.Context() | |
1179c1399 | |
< err = codegen_runtime.BindStyledParameterWithLocation("simple", false, "address", codegen_runtime.ParamLocationPath, chi.URLParam(r, "address"), &address) | |
--- | |
> err = codegen_runtime.BindStyledParameterWithOptions("simple", "address", chi.URLParam(r, "address"), &address, codegen_runtime.BindStyledParameterOptions{ParamLocation: codegen_runtime.ParamLocationPath, Explode: false, Required: true}) | |
1220c1440 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
1222c1442 | |
< }) | |
--- | |
> })) | |
1228c1448 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
1233d1452 | |
< ctx := r.Context() | |
1240c1459 | |
< err = codegen_runtime.BindStyledParameterWithLocation("simple", false, "layer", codegen_runtime.ParamLocationPath, chi.URLParam(r, "layer"), &layer) | |
--- | |
> err = codegen_runtime.BindStyledParameterWithOptions("simple", "layer", chi.URLParam(r, "layer"), &layer, codegen_runtime.BindStyledParameterOptions{ParamLocation: codegen_runtime.ParamLocationPath, Explode: false, Required: true}) | |
1273c1492 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
1275c1494 | |
< }) | |
--- | |
> })) | |
1281c1500 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
1286d1504 | |
< ctx := r.Context() | |
1293c1511 | |
< err = codegen_runtime.BindStyledParameterWithLocation("simple", false, "layer", codegen_runtime.ParamLocationPath, chi.URLParam(r, "layer"), &layer) | |
--- | |
> err = codegen_runtime.BindStyledParameterWithOptions("simple", "layer", chi.URLParam(r, "layer"), &layer, codegen_runtime.BindStyledParameterOptions{ParamLocation: codegen_runtime.ParamLocationPath, Explode: false, Required: true}) | |
1334c1552 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
1336c1554 | |
< }) | |
--- | |
> })) | |
1342c1560 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
1347d1564 | |
< ctx := r.Context() | |
1354c1571 | |
< err = codegen_runtime.BindStyledParameterWithLocation("simple", false, "runtime", codegen_runtime.ParamLocationPath, chi.URLParam(r, "runtime"), &runtime) | |
--- | |
> err = codegen_runtime.BindStyledParameterWithOptions("simple", "runtime", chi.URLParam(r, "runtime"), &runtime, codegen_runtime.BindStyledParameterOptions{ParamLocation: codegen_runtime.ParamLocationPath, Explode: false, Required: true}) | |
1363c1580 | |
< err = codegen_runtime.BindStyledParameterWithLocation("simple", false, "address", codegen_runtime.ParamLocationPath, chi.URLParam(r, "address"), &address) | |
--- | |
> err = codegen_runtime.BindStyledParameterWithOptions("simple", "address", chi.URLParam(r, "address"), &address, codegen_runtime.BindStyledParameterOptions{ParamLocation: codegen_runtime.ParamLocationPath, Explode: false, Required: true}) | |
1369c1586 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
1371c1588 | |
< }) | |
--- | |
> })) | |
1377c1594 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
1382d1598 | |
< ctx := r.Context() | |
1389c1605 | |
< err = codegen_runtime.BindStyledParameterWithLocation("simple", false, "runtime", codegen_runtime.ParamLocationPath, chi.URLParam(r, "runtime"), &runtime) | |
--- | |
> err = codegen_runtime.BindStyledParameterWithOptions("simple", "runtime", chi.URLParam(r, "runtime"), &runtime, codegen_runtime.BindStyledParameterOptions{ParamLocation: codegen_runtime.ParamLocationPath, Explode: false, Required: true}) | |
1398c1614 | |
< err = codegen_runtime.BindStyledParameterWithLocation("simple", false, "address", codegen_runtime.ParamLocationPath, chi.URLParam(r, "address"), &address) | |
--- | |
> err = codegen_runtime.BindStyledParameterWithOptions("simple", "address", chi.URLParam(r, "address"), &address, codegen_runtime.BindStyledParameterOptions{ParamLocation: codegen_runtime.ParamLocationPath, Explode: false, Required: true}) | |
1431c1647 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
1433c1649 | |
< }) | |
--- | |
> })) | |
1439c1655 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
1444d1659 | |
< ctx := r.Context() | |
1451c1666 | |
< err = codegen_runtime.BindStyledParameterWithLocation("simple", false, "runtime", codegen_runtime.ParamLocationPath, chi.URLParam(r, "runtime"), &runtime) | |
--- | |
> err = codegen_runtime.BindStyledParameterWithOptions("simple", "runtime", chi.URLParam(r, "runtime"), &runtime, codegen_runtime.BindStyledParameterOptions{ParamLocation: codegen_runtime.ParamLocationPath, Explode: false, Required: true}) | |
1516c1731 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
1518c1733 | |
< }) | |
--- | |
> })) | |
1524c1739 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
1529d1743 | |
< ctx := r.Context() | |
1536c1750 | |
< err = codegen_runtime.BindStyledParameterWithLocation("simple", false, "runtime", codegen_runtime.ParamLocationPath, chi.URLParam(r, "runtime"), &runtime) | |
--- | |
> err = codegen_runtime.BindStyledParameterWithOptions("simple", "runtime", chi.URLParam(r, "runtime"), &runtime, codegen_runtime.BindStyledParameterOptions{ParamLocation: codegen_runtime.ParamLocationPath, Explode: false, Required: true}) | |
1625c1839 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
1627c1841 | |
< }) | |
--- | |
> })) | |
1633c1847 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
1638d1851 | |
< ctx := r.Context() | |
1645c1858 | |
< err = codegen_runtime.BindStyledParameterWithLocation("simple", false, "runtime", codegen_runtime.ParamLocationPath, chi.URLParam(r, "runtime"), &runtime) | |
--- | |
> err = codegen_runtime.BindStyledParameterWithOptions("simple", "runtime", chi.URLParam(r, "runtime"), &runtime, codegen_runtime.BindStyledParameterOptions{ParamLocation: codegen_runtime.ParamLocationPath, Explode: false, Required: true}) | |
1678c1891 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
1680c1893 | |
< }) | |
--- | |
> })) | |
1686c1899 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
1691d1903 | |
< ctx := r.Context() | |
1698c1910 | |
< err = codegen_runtime.BindStyledParameterWithLocation("simple", false, "runtime", codegen_runtime.ParamLocationPath, chi.URLParam(r, "runtime"), &runtime) | |
--- | |
> err = codegen_runtime.BindStyledParameterWithOptions("simple", "runtime", chi.URLParam(r, "runtime"), &runtime, codegen_runtime.BindStyledParameterOptions{ParamLocation: codegen_runtime.ParamLocationPath, Explode: false, Required: true}) | |
1707c1919 | |
< err = codegen_runtime.BindStyledParameterWithLocation("simple", false, "address", codegen_runtime.ParamLocationPath, chi.URLParam(r, "address"), &address) | |
--- | |
> err = codegen_runtime.BindStyledParameterWithOptions("simple", "address", chi.URLParam(r, "address"), &address, codegen_runtime.BindStyledParameterOptions{ParamLocation: codegen_runtime.ParamLocationPath, Explode: false, Required: true}) | |
1713c1925 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
1715c1927 | |
< }) | |
--- | |
> })) | |
1721c1933 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
1726d1937 | |
< ctx := r.Context() | |
1733c1944 | |
< err = codegen_runtime.BindStyledParameterWithLocation("simple", false, "runtime", codegen_runtime.ParamLocationPath, chi.URLParam(r, "runtime"), &runtime) | |
--- | |
> err = codegen_runtime.BindStyledParameterWithOptions("simple", "runtime", chi.URLParam(r, "runtime"), &runtime, codegen_runtime.BindStyledParameterOptions{ParamLocation: codegen_runtime.ParamLocationPath, Explode: false, Required: true}) | |
1742c1953 | |
< err = codegen_runtime.BindStyledParameterWithLocation("simple", false, "address", codegen_runtime.ParamLocationPath, chi.URLParam(r, "address"), &address) | |
--- | |
> err = codegen_runtime.BindStyledParameterWithOptions("simple", "address", chi.URLParam(r, "address"), &address, codegen_runtime.BindStyledParameterOptions{ParamLocation: codegen_runtime.ParamLocationPath, Explode: false, Required: true}) | |
1767c1978 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
1769c1980 | |
< }) | |
--- | |
> })) | |
1775c1986 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
1780d1990 | |
< ctx := r.Context() | |
1787c1997 | |
< err = codegen_runtime.BindStyledParameterWithLocation("simple", false, "runtime", codegen_runtime.ParamLocationPath, chi.URLParam(r, "runtime"), &runtime) | |
--- | |
> err = codegen_runtime.BindStyledParameterWithOptions("simple", "runtime", chi.URLParam(r, "runtime"), &runtime, codegen_runtime.BindStyledParameterOptions{ParamLocation: codegen_runtime.ParamLocationPath, Explode: false, Required: true}) | |
1796c2006 | |
< err = codegen_runtime.BindStyledParameterWithLocation("simple", false, "address", codegen_runtime.ParamLocationPath, chi.URLParam(r, "address"), &address) | |
--- | |
> err = codegen_runtime.BindStyledParameterWithOptions("simple", "address", chi.URLParam(r, "address"), &address, codegen_runtime.BindStyledParameterOptions{ParamLocation: codegen_runtime.ParamLocationPath, Explode: false, Required: true}) | |
1821c2031 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
1823c2033 | |
< }) | |
--- | |
> })) | |
1829c2039 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
1834d2043 | |
< ctx := r.Context() | |
1841c2050 | |
< err = codegen_runtime.BindStyledParameterWithLocation("simple", false, "runtime", codegen_runtime.ParamLocationPath, chi.URLParam(r, "runtime"), &runtime) | |
--- | |
> err = codegen_runtime.BindStyledParameterWithOptions("simple", "runtime", chi.URLParam(r, "runtime"), &runtime, codegen_runtime.BindStyledParameterOptions{ParamLocation: codegen_runtime.ParamLocationPath, Explode: false, Required: true}) | |
1850c2059 | |
< err = codegen_runtime.BindStyledParameterWithLocation("simple", false, "address", codegen_runtime.ParamLocationPath, chi.URLParam(r, "address"), &address) | |
--- | |
> err = codegen_runtime.BindStyledParameterWithOptions("simple", "address", chi.URLParam(r, "address"), &address, codegen_runtime.BindStyledParameterOptions{ParamLocation: codegen_runtime.ParamLocationPath, Explode: false, Required: true}) | |
1859c2068 | |
< err = codegen_runtime.BindStyledParameterWithLocation("simple", false, "id", codegen_runtime.ParamLocationPath, chi.URLParam(r, "id"), &id) | |
--- | |
> err = codegen_runtime.BindStyledParameterWithOptions("simple", "id", chi.URLParam(r, "id"), &id, codegen_runtime.BindStyledParameterOptions{ParamLocation: codegen_runtime.ParamLocationPath, Explode: false, Required: true}) | |
1865c2074 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
1867c2076 | |
< }) | |
--- | |
> })) | |
1873c2082 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
1878d2086 | |
< ctx := r.Context() | |
1885c2093 | |
< err = codegen_runtime.BindStyledParameterWithLocation("simple", false, "runtime", codegen_runtime.ParamLocationPath, chi.URLParam(r, "runtime"), &runtime) | |
--- | |
> err = codegen_runtime.BindStyledParameterWithOptions("simple", "runtime", chi.URLParam(r, "runtime"), &runtime, codegen_runtime.BindStyledParameterOptions{ParamLocation: codegen_runtime.ParamLocationPath, Explode: false, Required: true}) | |
1891c2099 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
1893c2101 | |
< }) | |
--- | |
> })) | |
1899c2107 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
1904d2111 | |
< ctx := r.Context() | |
1911c2118 | |
< err = codegen_runtime.BindStyledParameterWithLocation("simple", false, "runtime", codegen_runtime.ParamLocationPath, chi.URLParam(r, "runtime"), &runtime) | |
--- | |
> err = codegen_runtime.BindStyledParameterWithOptions("simple", "runtime", chi.URLParam(r, "runtime"), &runtime, codegen_runtime.BindStyledParameterOptions{ParamLocation: codegen_runtime.ParamLocationPath, Explode: false, Required: true}) | |
1968c2175 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
1970c2177 | |
< }) | |
--- | |
> })) | |
1976c2183 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
1981d2187 | |
< ctx := r.Context() | |
1988c2194 | |
< err = codegen_runtime.BindStyledParameterWithLocation("simple", false, "runtime", codegen_runtime.ParamLocationPath, chi.URLParam(r, "runtime"), &runtime) | |
--- | |
> err = codegen_runtime.BindStyledParameterWithOptions("simple", "runtime", chi.URLParam(r, "runtime"), &runtime, codegen_runtime.BindStyledParameterOptions{ParamLocation: codegen_runtime.ParamLocationPath, Explode: false, Required: true}) | |
1997c2203 | |
< err = codegen_runtime.BindStyledParameterWithLocation("simple", false, "tx_hash", codegen_runtime.ParamLocationPath, chi.URLParam(r, "tx_hash"), &txHash) | |
--- | |
> err = codegen_runtime.BindStyledParameterWithOptions("simple", "tx_hash", chi.URLParam(r, "tx_hash"), &txHash, codegen_runtime.BindStyledParameterOptions{ParamLocation: codegen_runtime.ParamLocationPath, Explode: false, Required: true}) | |
2003c2209 | |
< var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
--- | |
> handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
2005c2211 | |
< }) | |
--- | |
> })) | |
2011c2217 | |
< handler.ServeHTTP(w, r.WithContext(ctx)) | |
--- | |
> handler.ServeHTTP(w, r) | |
2027c2233 | |
< type UnmarshallingParamError struct { | |
--- | |
> type UnmarshalingParamError struct { | |
2032,2033c2238,2239 | |
< func (e *UnmarshallingParamError) Error() string { | |
< return fmt.Sprintf("Error unmarshalling parameter %s as JSON: %s", e.ParamName, e.Err.Error()) | |
--- | |
> func (e *UnmarshalingParamError) Error() string { | |
> return fmt.Sprintf("Error unmarshaling parameter %s as JSON: %s", e.ParamName, e.Err.Error()) | |
2036c2242 | |
< func (e *UnmarshallingParamError) Unwrap() error { | |
--- | |
> func (e *UnmarshalingParamError) Unwrap() error { | |
4239,4240d4444 | |
< | |
< type StrictHandlerFunc func(ctx context.Context, w http.ResponseWriter, r *http.Request, args interface{}) (interface{}, error) | |
4242c4446,4447 | |
< type StrictMiddlewareFunc func(f StrictHandlerFunc, operationID string) StrictHandlerFunc | |
--- | |
> type StrictHandlerFunc = strictnethttp.StrictHTTPHandlerFunc | |
> type StrictMiddlewareFunc = strictnethttp.StrictHTTPMiddlewareFunc | |
4290c4495 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) | |
4316c4521 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) | |
4342c4547 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) | |
4369c4574 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) | |
4396c4601 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) | |
4423c4628 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) | |
4450c4655 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) | |
4476c4681 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) | |
4502c4707 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) | |
4528c4733 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) | |
4554c4759 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) | |
4581c4786 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) | |
4608c4813 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) | |
4634c4839 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) | |
4660c4865 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) | |
4686c4891 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) | |
4712c4917 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) | |
4738c4943 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) | |
4765c4970 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) | |
4791c4996 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) | |
4817c5022 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) | |
4843c5048 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) | |
4869c5074 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) | |
4895c5100 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) | |
4922c5127 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) | |
4949c5154 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) | |
4976c5181 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) | |
5003c5208 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) | |
5031c5236 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) | |
5058c5263 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) | |
5085c5290 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) | |
5112c5317 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) | |
5139c5344 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) | |
5167c5372 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) | |
5195c5400 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) | |
5223c5428 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) | |
5249c5454 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) | |
5276c5481 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) | |
5303c5508 | |
< sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("Unexpected response type: %T", response)) | |
--- | |
> sh.options.ResponseErrorHandlerFunc(w, r, fmt.Errorf("unexpected response type: %T", response)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment