StyleGuide

Represents a singleton style guide resource to be used for linting Open API specs.

JSON representation
{
 "name": string,
 "linter": enum (Linter ),
 "contents": {
 object (StyleGuideContents )
 }
}
Fields
name

string

Identifier. The name of the style guide.

Format: projects/{project}/locations/{location}/plugins/{plugin}/styleGuide

linter

enum (Linter )

Required. Target linter for the style guide.

contents

object (StyleGuideContents )

Required. Input only. The contents of the uploaded style guide.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年07月28日 UTC.