Skip to content

Instantly share code, notes, and snippets.

View swagger-client-config.json
{
"modelPackage": "com.example.authrules.v1.client.model",
"apiPackage": "com.example.authrules.v1.client",
"library": "resttemplate",
"groupId": "com.example.service.clients",
"artifactId": "authorization-rules-service-client",
"artifactVersion": "1.2",
"artifactDescription": "An Authorization Rules Service client library"
}
View swagger-2.3.1.json
{
"swagger": "2.0",
"info": {
"title": "Authorization Rules Service API",
"version": "1.2"
},
"basePath": "/rules/v1",
"paths": {
"/getAuthorizations": {
"post": {
View ContextHeaders.java
/**
* ContextHeaders
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-01-08T14:38:46.807Z")
public class ContextHeaders extends HashMap<String, List> {
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
View ContextHeaders.java
/**
* ContextHeaders
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-01-08T14:38:46.807Z")
public class ContextHeaders extends HashMap<String, List> {
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
View swagger.json
{
"openapi": "3.0.0",
"info": {
"title": "Authorization Rules Service API",
"version": "1.3"
},
"paths": {
"/getAuthorizations": {
"post": {
"tags": [
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.