com.google.api.tools.framework.importers.swagger.testdata.primitive_wrapper_model.baseline Maven / Gradle / Ivy
WARNING: primitive_wrapper_model.json: Operation 'post' in path '/v1/pets/{name}': Operation does not require an API key; callers may invoke the method without specifying an associated API-consuming project. To enable API key all the SecurityRequirement Objects (https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#security-requirement-object) inside security definition must reference at least one SecurityDefinition of type : 'apiKey'.
name: "library-example.cloud.goog"
title: "Google Example Library API"
apis {
name: "v1.library_example_cloud_goog"
methods {
name: "SimpleMethod"
request_type_url: "type.googleapis.com/namespace.types.SimpleMethodRequest"
response_type_url: "type.googleapis.com/google.protobuf.StringValue"
}
version: "v1"
source_context {
file_name: "primitive_wrapper_model.json"
}
}
types {
name: "namespace.types.SimpleMethodRequest"
fields {
kind: TYPE_STRING
cardinality: CARDINALITY_OPTIONAL
number: 1
name: "name"
json_name: "name"
}
source_context {
file_name: "namespace.types"
}
}
documentation {
summary: "A simple Google Example Library API."
}
http {
rules {
selector: "v1.library_example_cloud_goog.SimpleMethod"
post: "/v1/pets/{name}"
}
}
quota {
}
authentication {
}
usage {
rules {
selector: "v1.library_example_cloud_goog.SimpleMethod"
allow_unregistered_calls: true
}
}
endpoints {
name: "library-example.cloud.goog"
}
control {
environment: "servicecontrol.googleapis.com"
}
system_parameters {
}
experimental {
}