Swagger spec compatibility with Endpoints Portal
Change Maven artifact group id to com.aodocs.endpoints
Support Endpoints Portal authorization flow
- Add authorizationUrl and useScopesInAuthFlow issuer config params
- Define default authorizationUrl for Google id token issuers
- Add scopes in operation's security (required for Try it! in Portal)
- Add authorizationUrl in OAuth2 flow (required for Try it! in Portal)
- Reorder Google id token issuers to have https:// one first
New supported Swagger features
- Support deprecation on Swagger operations with @deprecated
- Add tags to Swagger operations to group like API Explorer in Portal
- Inline Map types (including JsonMap) to avoid useless definitions
- Set default values for parameters
- Add proper collection format (multi instead of csv)
Order consistency
- Remove ordering attempt in reflection-based introspection
- Add ordering in Swagger generation (sort paths by string order)
Testing
- Improve coverage of SwaggerGenerator (array tests)
- Extract Swagger assertion logic in a truth.dev subject
- Update truth.dev to 1.0