From 2e7396d91b4966cb8e67c84fa759e6306c81087d Mon Sep 17 00:00:00 2001 From: Gustavo Madeira Krieger Date: Mon, 22 Jan 2024 15:40:35 -0300 Subject: [PATCH] fix: move inspect api --- README.md | 2 +- {pkg/inspectclient => api/openapi}/inspect.yaml | 0 pkg/inspectclient/main.go | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename {pkg/inspectclient => api/openapi}/inspect.yaml (100%) diff --git a/README.md b/README.md index 383847d28..ead76bd4b 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ The Cartesi Node depends on the following Cartesi components: | Component | Version | |---|---| | Cartesi Machine SDK | [v0.16.2](https://github.com/cartesi/machine-emulator-sdk/releases/tag/v0.16.2) | -| Cartesi OpenAPI Interfaces | [v0.6.0](https://github.com/cartesi/openapi-interfaces/releases/tag/v0.6.0) | +| Cartesi OpenAPI Interfaces | [v0.7.0](https://github.com/cartesi/openapi-interfaces/releases/tag/v0.7.0) | | Cartesi Rollups Contracts | [v1.1.0](https://github.com/cartesi/rollups-contracts/releases/tag/v1.1.0) | | Cartesi Server Manager | [v0.8.2](https://github.com/cartesi/server-manager/releases/tag/v0.8.2) | diff --git a/pkg/inspectclient/inspect.yaml b/api/openapi/inspect.yaml similarity index 100% rename from pkg/inspectclient/inspect.yaml rename to api/openapi/inspect.yaml diff --git a/pkg/inspectclient/main.go b/pkg/inspectclient/main.go index fc77ad0e1..a816b2ec8 100644 --- a/pkg/inspectclient/main.go +++ b/pkg/inspectclient/main.go @@ -5,4 +5,4 @@ // to query the Rollups GraphQL API package inspectclient -//go:generate go run github.com/deepmap/oapi-codegen/v2/cmd/oapi-codegen -generate types,client -o generated.go -package inspectclient inspect.yaml +//go:generate go run github.com/deepmap/oapi-codegen/v2/cmd/oapi-codegen -generate types,client -o generated.go -package inspectclient ../../api/openapi/inspect.yaml