/minio-grpc-admin-spec

Spec that is implemented by minio-grpc-admin

Primary LanguageShell

gRPC Administrative minio API Specification

Important file locations

Record of Truth

The record of truth for the API is api/

Generating swagger file

To regenerate swagger, please do the following:

make -f build/Makefile generators

Note: you need to have protoc in your path. If you're on a Mac you can run

make -f build/Makefile install-protoc-darwin

To install protoc for you (a password may be required to complete this operation)

There are also two plugins you will need to have installed for OpenAPI/Swagger generation. They are:

  • github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc
  • github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger

Install with

make -f build/Makefile install-protoc-generators

What is a .proto file?

The best source of knowledge on .proto files is Google's Documentation