Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save akehir/1ec246c3f4540a6ba4973d4880db54f5 to your computer and use it in GitHub Desktop.
Save akehir/1ec246c3f4540a6ba4973d4880db54f5 to your computer and use it in GitHub Desktop.
openapi-generator-1458
{
"swagger": "2.0",
"info": {
"description": "_Api Documentation_ | Description",
"version": "1.0",
"title": "=Api Documentation= | Title",
"termsOfService": "urn:tos",
"contact": {},
"license": {
"name": "Apache 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0"
}
},
"host": "localhost",
"basePath": "/",
"tags": [
{
"name": "atrs-backend-file-upload-controller",
"description": "Atrs Backend File Upload Controller"
},
{
"name": "business-config-data-controller",
"description": "Business Config Data Controller"
},
{
"name": "components-diagnostic-rest-service",
"description": "Components Diagnostic Rest Service"
},
{
"name": "error-information-rest-controller",
"description": "Error Information Rest Controller"
},
{
"name": "excel-rest-controller",
"description": "Excel Rest Controller"
},
{
"name": "missing-information-rest-controller",
"description": "Missing Information Rest Controller"
},
{
"name": "process-handling-rest-controller",
"description": "Process Handling Rest Controller"
},
{
"name": "reclaim-rest-controller",
"description": "Reclaim Rest Controller"
},
{
"name": "ref-data-rest-controller",
"description": "Ref Data Rest Controller"
},
{
"name": "transaction-rest-service",
"description": "Transaction Rest Service"
},
{
"name": "user-info-controller",
"description": "User Info Controller"
}
],
"/be/files/staged": {
"post": {
"tags": [
"atrs-backend-file-upload-controller"
],
"summary": "uploadFilesToStage",
"operationId": "uploadFilesToStageUsingPOST",
"consumes": [
"multipart/form-data"
],
"produces": [
"*/*"
],
"parameters": [
{
"name": "uploadId",
"in": "query",
"description": "uploadId",
"required": true,
"type": "string"
},
{
"name": "files",
"in": "formData",
"description": "files",
"required": true,
"type": "array",
"items": {
"type": "file"
},
"collectionFormat": "multi"
}
],
"responses": {
"200": { "description": "OK", "schema": { "$ref": "#/definitions/StagedFileUploadStatus" }},
"201": {"description": "Created"},
"401": {"description": "Unauthorized" },
"403": { "description": "Forbidden" },
"404": { "description": "Not Found" } }
}
}
},
"definitions": {
"StagedFileUploadStatus": {
"type": "object",
"properties": {
"fileStatuses": {
"type": "array",
"items": {
"$ref": "#/definitions/FileStatus"
}
},
"uploadId": {
"type": "string"
}
},
"title": "StagedFileUploadStatus"
},
"FileStatus": {
"type": "object",
"properties": {
"accountCount": {
"type": "integer",
"format": "int64"
},
"accountOwnershipCount": {
"type": "integer",
"format": "int64"
},
"accountOwnershipUpsertCount": {
"type": "integer",
"format": "int64"
},
"accountUpsertCount": {
"type": "integer",
"format": "int64"
},
"archiveName": {
"type": "string"
},
"beneficialOwnerAddressCount": {
"type": "integer",
"format": "int64"
},
"beneficialOwnerAddressUpsertCount": {
"type": "integer",
"format": "int64"
},
"beneficialOwnerCount": {
"type": "integer",
"format": "int64"
},
"beneficialOwnerUpsertCount": {
"type": "integer",
"format": "int64"
},
"documentCount": {
"type": "integer",
"format": "int64"
},
"documentUpsertCount": {
"type": "integer",
"format": "int64"
},
"fileName": {
"type": "string"
},
"fileType": {
"type": "string"
},
"messages": {
"type": "array",
"items": {
"$ref": "#/definitions/UiCommunicationMessage"
}
},
"success": {
"type": "boolean"
},
"taxPayerIdentificationNumberCount": {
"type": "integer",
"format": "int64"
},
"taxPayerIdentificationNumberUpsertCount": {
"type": "integer",
"format": "int64"
},
"transactionCount": {
"type": "integer",
"format": "int64"
},
"transactionUpsertCount": {
"type": "integer",
"format": "int64"
}
},
"title": "FileStatus"
}
}
}
{
"swagger": "2.0",
"info": {
"description": "_Api Documentation_ | Description",
"version": "1.0",
"title": "=Api Documentation= | Title",
"termsOfService": "urn:tos",
"contact": {},
"license": {
"name": "Apache 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0"
}
},
"host": "localhost",
"basePath": "/",
"tags": [
{
"name": "atrs-backend-file-upload-controller",
"description": "Atrs Backend File Upload Controller"
},
{
"name": "business-config-data-controller",
"description": "Business Config Data Controller"
},
{
"name": "components-diagnostic-rest-service",
"description": "Components Diagnostic Rest Service"
},
{
"name": "error-information-rest-controller",
"description": "Error Information Rest Controller"
},
{
"name": "excel-rest-controller",
"description": "Excel Rest Controller"
},
{
"name": "missing-information-rest-controller",
"description": "Missing Information Rest Controller"
},
{
"name": "process-handling-rest-controller",
"description": "Process Handling Rest Controller"
},
{
"name": "reclaim-rest-controller",
"description": "Reclaim Rest Controller"
},
{
"name": "ref-data-rest-controller",
"description": "Ref Data Rest Controller"
},
{
"name": "transaction-rest-service",
"description": "Transaction Rest Service"
},
{
"name": "user-info-controller",
"description": "User Info Controller"
}
],
"paths": {
"/be/files/staged": {
"post": {
"tags": [
"atrs-backend-file-upload-controller"
],
"summary": "uploadFilesToStage",
"operationId": "uploadFilesToStageUsingPOST",
"consumes": [
"application/json"
],
"produces": [
"*/*"
],
"parameters": [
{
"name": "uploadId",
"in": "query",
"description": "uploadId",
"required": true,
"type": "string"
},
{
"name": "files",
"in": "formData",
"description": "files",
"required": true,
"type": "array",
"items": {
"type": "file"
},
"collectionFormat": "multi"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/StagedFileUploadStatus"
}
},
"201": {
"description": "Created"
},
"401": {
"description": "Unauthorized"
},
"403": {
"description": "Forbidden"
},
"404": {
"description": "Not Found"
}
}
}
}
},
"definitions": {
"StagedFileUploadStatus": {
"type": "object",
"properties": {
"fileStatuses": {
"type": "array",
"items": {
"$ref": "#/definitions/FileStatus"
}
},
"uploadId": {
"type": "string"
}
},
"title": "StagedFileUploadStatus"
},
"FileStatus": {
"type": "object",
"properties": {
"accountCount": {
"type": "integer",
"format": "int64"
},
"accountOwnershipCount": {
"type": "integer",
"format": "int64"
},
"accountOwnershipUpsertCount": {
"type": "integer",
"format": "int64"
},
"accountUpsertCount": {
"type": "integer",
"format": "int64"
},
"archiveName": {
"type": "string"
},
"beneficialOwnerAddressCount": {
"type": "integer",
"format": "int64"
},
"beneficialOwnerAddressUpsertCount": {
"type": "integer",
"format": "int64"
},
"beneficialOwnerCount": {
"type": "integer",
"format": "int64"
},
"beneficialOwnerUpsertCount": {
"type": "integer",
"format": "int64"
},
"documentCount": {
"type": "integer",
"format": "int64"
},
"documentUpsertCount": {
"type": "integer",
"format": "int64"
},
"fileName": {
"type": "string"
},
"fileType": {
"type": "string"
},
"messages": {
"type": "array",
"items": {
"$ref": "#/definitions/UiCommunicationMessage"
}
},
"success": {
"type": "boolean"
},
"taxPayerIdentificationNumberCount": {
"type": "integer",
"format": "int64"
},
"taxPayerIdentificationNumberUpsertCount": {
"type": "integer",
"format": "int64"
},
"transactionCount": {
"type": "integer",
"format": "int64"
},
"transactionUpsertCount": {
"type": "integer",
"format": "int64"
}
},
"title": "FileStatus"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment