Jim Schubert ea55968737
Evaluating https issues in CircleCI (on top of CiscoM31-maven-h… (#5034)
* replace http with https. Replace http://central.maven.org with https://repo1.maven.org

* replace http://www.apache.org/licenses/LICENSE-2.0 with https://www.apache.org/licenses/LICENSE-2.0

* Force HTTPS for mavenCentral gradle DSL

Co-authored-by: Sebastien Rosset <serosset@cisco.com>
2020-01-18 18:53:05 -05:00

37 lines
1.2 KiB
YAML

apiVersion: 1.0.0
swaggerVersion: "1.2"
apis:
- path: /pet
description: Operations about pets
- path: /store
description: Operations about store
- path: /user
description: Operations about user
authorizations:
oauth2:
type: oauth2
scopes:
- PUBLIC
grantTypes:
implicit:
loginEndpoint:
url: "http://localhost:8002/oauth/dialog"
tokenName: access_code
authorization_code:
tokenRequestEndpoint:
url: "http://localhost:8002/oauth/requestToken"
clientIdName: client_id
clientSecretName: client_secret
tokenEndpoint:
url: "http://localhost:8002/oauth/token"
tokenName: access_code
apiKey:
type: apiKey
passAs: header
info:
title: Swagger Sample App
description: "This is a sample server Petstore server. You can find out more about Swagger \n at <a href=\"http://swagger.wordnik.com\">http://swagger.wordnik.com</a> or on irc.freenode.net, #swagger."
termsOfServiceUrl: "http://swagger.io/terms/"
contact: "apiteam@swagger.io"
license: Apache 2.0
licenseUrl: "https://www.apache.org/licenses/LICENSE-2.0.html"