parser

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2025 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Overview

Package parser reads specifications and converts them into the `genclient.API` model.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateModel

func CreateModel(config *config.Config) (*api.API, error)

CreateModel parses the service specification referenced in `config`, cross-references the model, and applies any transformations or overrides required by the configuration.

func ParseDisco

func ParseDisco(cfg *config.Config) (*api.API, error)

ParseDisco reads discovery docs specifications and converts them into the `api.API` model.

func ParseOpenAPI

func ParseOpenAPI(cfg *config.Config) (*api.API, error)

ParseOpenAPI parses an OpenAPI specification and returns an API model.

func ParseProtobuf

func ParseProtobuf(cfg *config.Config) (*api.API, error)

ParseProtobuf reads Protobuf specifications and converts them into the `api.API` model.

Types

This section is empty.

Directories

Path Synopsis
Package discovery parses Google Discovery Documents into the sidekick abstract API model (`api.API`).
Package discovery parses Google Discovery Documents into the sidekick abstract API model (`api.API`).
Package httprule provides a parser for the path templates found in [google.api.http] annotations.
Package httprule provides a parser for the path templates found in [google.api.http] annotations.
Package svcconfig contains helper functions to parse service config files.
Package svcconfig contains helper functions to parse service config files.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL