All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.google.api.tools.framework.importers.swagger.testdata.auth.json Maven / Gradle / Ivy
{
"swagger": "2.0",
"info": {
"title": "Google Example Library API",
"description": "A simple Google Example Library API.",
"version": "v1"
},
"host": "library-example.cloud.goog",
"securityDefinitions": {
"test_auth": {
"type": "oauth2",
"authorizationUrl": "http://petstore.swagger.wordnik.com/api/oauth/dialog",
"flow": "implicit",
"x-issuer": "[email protected] ",
"x-jwks_uri": "https://www.googleapis.com/oauth2/v1/certs",
"scopes": {
"write_pets": "modify pets in your account",
"read_pets": "read your pets"
}
},
"test_auth2": {
"type": "oauth2",
"authorizationUrl": "http://petstore.swagger.wordnik.com/api/oauth/dialog",
"flow": "implicit",
"x-issuer": "[email protected] ",
"scopes": {
}
},
"api_key": {
"type": "apiKey",
"name": "key",
"in": "query"
},
"test_auth3": {
"type": "oauth2",
"authorizationUrl": "http://petstore.swagger.wordnik.com/api/oauth/dialog",
"flow": "implicit",
"x-jwks_uri": "https://www.googleapis.com/oauth2/v1/certs3",
"scopes": {
}
}
},
"security": [
{
"api_key": []
}
],
"paths": {
"/v1/pets": {
"post": {
"operationId": "simpleMethod",
"parameters": [
{
"name": "myBodyRef",
"in": "body",
"schema": {
"properties": {
"myStringA": {
"type": "string"
}
}
}
}
],
"responses": {
"default": {
"description": "successful operation",
"schema": {
"$ref": "#/definitions/SimpleDef"
}
}
},
"security": [
{
"api_key": []
}
],
"x-security": [
{
"test_auth3": {
"audiences" : [
"www.test_auth3.com",
"www.test_auth3_2.com"
]
}
},
{
"test_auth": {
"audiences" : [
"www.test_auth.com"
]
}
}
]
},
"delete": {
"operationId": "apiKeyReqInherit",
"responses": {
"default": {
"description": "successful operation",
"schema": {
"$ref": "#/definitions/SimpleDef"
}
}
}
},
"get": {
"operationId": "apiKeyNotReqOverride",
"responses": {
"default": {
"description": "successful operation",
"schema": {
"$ref": "#/definitions/SimpleDef"
}
}
},
"security": [
],
"x-security": [
]
}
}
},
"definitions": {
"SimpleDef": {
"properties": {
"myStringA": {
"type": "string"
}
}
}
}
}