Skip to content

Latest commit

 

History

History
63 lines (44 loc) · 2.42 KB

CreateApiSchemaRequest.md

File metadata and controls

63 lines (44 loc) · 2.42 KB

CreateApiSchemaRequest

Information about the API schema.

Properties

Name Type Required Description
type_ CreateApiSchemaType1 The schema's type.
files List[CreateApiSchemaFiles1] The list of files that are part of the schema.

CreateApiSchemaType_1

The schema's type.

Properties

Name Type Required Description
PROTO2 str "proto:2"
PROTO3 str "proto:3"
GRAPHQL str "graphql"
OPENAPI3_1 str "openapi:3_1"
OPENAPI3 str "openapi:3"
OPENAPI2 str "openapi:2"
OPENAPI1 str "openapi:1"
RAML1 str "raml:1"
RAML0_8 str "raml:0_8"
WSDL2 str "wsdl:2"
WSDL1 str "wsdl:1"
ASYNCAPI2 str "asyncapi:2"

CreateApiSchemaFiles_1

Properties

Name Type Required Description
path str The schema's file path.
root FilesRoot Information about the schema's root file.
content str The schema file's stringified contents.

FilesRoot

Information about the schema's root file.

Properties

Name Type Required Description
enabled Enabled If true, tag the file as the root file. The root tag is only allowed for protobuf specifications.

Enabled

If true, tag the file as the root file. The root tag is only allowed for protobuf specifications.

Properties

Name Type Required Description
TRUE str "true"