All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.tools.framework.importers.swagger.testdata.primitive_types.baseline Maven / Gradle / Ivy

WARNING: primitive_types.json: Operation 'post' in path '/v1/pets': 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/namespace.types.SimpleDef"
  }
  version: "v1"
  source_context {
    file_name: "primitive_types.json"
  }
}
types {
  name: "namespace.types.SimpleDef"
  fields {
    kind: TYPE_STRING
    cardinality: CARDINALITY_OPTIONAL
    number: 1
    name: "my_string_a"
    json_name: "myStringA"
  }
  fields {
    kind: TYPE_BOOL
    cardinality: CARDINALITY_OPTIONAL
    number: 2
    name: "my_boolean"
    json_name: "myBoolean"
  }
  fields {
    kind: TYPE_INT32
    cardinality: CARDINALITY_OPTIONAL
    number: 3
    name: "my_integer_a"
    json_name: "myIntegerA"
  }
  fields {
    kind: TYPE_INT64
    cardinality: CARDINALITY_OPTIONAL
    number: 4
    name: "my_integer_b"
    json_name: "myIntegerB"
  }
  fields {
    kind: TYPE_FLOAT
    cardinality: CARDINALITY_OPTIONAL
    number: 5
    name: "my_number_float"
    json_name: "myNumberFloat"
  }
  fields {
    kind: TYPE_DOUBLE
    cardinality: CARDINALITY_OPTIONAL
    number: 6
    name: "my_number_double"
    json_name: "myNumberDouble"
  }
  fields {
    kind: TYPE_BOOL
    cardinality: CARDINALITY_REPEATED
    number: 7
    name: "my_array"
    json_name: "myArray"
  }
  source_context {
    file_name: "namespace.types"
  }
}
types {
  name: "namespace.types.SimpleMethodRequest"
  fields {
    kind: TYPE_STRING
    cardinality: CARDINALITY_OPTIONAL
    number: 1
    name: "my_string"
    json_name: "myString"
  }
  fields {
    kind: TYPE_BOOL
    cardinality: CARDINALITY_OPTIONAL
    number: 2
    name: "my_integer"
    json_name: "myInteger"
  }
  fields {
    kind: TYPE_INT32
    cardinality: CARDINALITY_OPTIONAL
    number: 3
    name: "my_boolean"
    json_name: "myBoolean"
  }
  fields {
    kind: TYPE_DOUBLE
    cardinality: CARDINALITY_OPTIONAL
    number: 4
    name: "my_number"
    json_name: "myNumber"
  }
  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"
  }
}
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 {
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy