mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-21 17:07:16 +00:00
* Generate swagger files * Add basic Swagger definitions * Add reposerver swagger file * Consolidate swagger files * Move swagger files to swagger-ui directory instead * Put swagger files in swagger-ui * Fix order of operations * Move back to swagger directory * Serve API server swagger files raw for now * Serve reposerver swagger files from API server * Move back to subdirectories, thanks @alexmt * Fix comment on application Rollback * Update two more comments * Fix comment in session.proto * Update generated code * Update generated swagger docs * Fix comment for delete actions in cluster and repository swagger * Set expected collisions and invoke mixins * Update generated code * Create swagger mixins from codegen * Move swagger.json location, thanks @jazminGonzalez-Rivero * Add ref cleanup for swagger combined * Make fewer temp files when generating swagger * Delete intermediate swagger files * Serve new file at /swagger.json * Set up UI server * Update package lock * Commit generated swagger.json files * Add install commands for swagger * Use ReDoc server instead of Swagger UI server * Update lockfile * Make URL paths more consistent * Update package lock * Separate out handlers for Swagger UI, JSON * Rm unnecessary CORS headers ...since we're serving from the app server * Simplify serving * Further simplify serving code * Update package lock * Factor out swagger serving into util * Add test for Swagger server * Use ServeSwaggerUI method to run tests * Update package lock * Don't generate swagger for reposerver * Reset to master Gopkg.lock and server/server.go * Merge in prev change to server/server.go * Redo changes to Gopkg.lock * Fix number of conflicts * Update generated swagger.json for server * Fix issue with project feature error
136 lines
3.6 KiB
JSON
136 lines
3.6 KiB
JSON
{
|
|
"consumes": [
|
|
"application/json"
|
|
],
|
|
"produces": [
|
|
"application/json"
|
|
],
|
|
"schemes": [
|
|
"http",
|
|
"https"
|
|
],
|
|
"swagger": "2.0",
|
|
"info": {
|
|
"description": "Description of all APIs",
|
|
"title": "Consolidate Services",
|
|
"version": "version not set"
|
|
},
|
|
"paths": {},
|
|
"definitions": {
|
|
"repositoryFileList": {
|
|
"type": "object",
|
|
"title": "FileList returns the contents of the repo of a ListDir request",
|
|
"properties": {
|
|
"items": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"repositoryGetFileResponse": {
|
|
"type": "object",
|
|
"title": "GetFileResponse returns the contents of the file of a GetFile request",
|
|
"properties": {
|
|
"data": {
|
|
"type": "string",
|
|
"format": "byte"
|
|
}
|
|
}
|
|
},
|
|
"repositoryManifestResponse": {
|
|
"type": "object",
|
|
"properties": {
|
|
"manifests": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"namespace": {
|
|
"type": "string"
|
|
},
|
|
"params": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/v1alpha1ComponentParameter"
|
|
}
|
|
},
|
|
"revision": {
|
|
"type": "string"
|
|
},
|
|
"server": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1Time": {
|
|
"description": "Time is a wrapper around time.Time which supports correct\nmarshaling to YAML and JSON. Wrappers are provided for many\nof the factory methods that the time package offers.\n\n+protobuf.options.marshal=false\n+protobuf.as=Timestamp\n+protobuf.options.(gogoproto.goproto_stringer)=false",
|
|
"type": "object",
|
|
"properties": {
|
|
"nanos": {
|
|
"description": "Non-negative fractions of a second at nanosecond resolution. Negative\nsecond values with fractions must still have non-negative nanos values\nthat count forward in time. Must be from 0 to 999,999,999\ninclusive. This field may be limited in precision depending on context.",
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"seconds": {
|
|
"description": "Represents seconds of UTC time since Unix epoch\n1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to\n9999-12-31T23:59:59Z inclusive.",
|
|
"type": "string",
|
|
"format": "int64"
|
|
}
|
|
}
|
|
},
|
|
"v1alpha1ComponentParameter": {
|
|
"type": "object",
|
|
"title": "ComponentParameter contains information about component parameter value",
|
|
"properties": {
|
|
"component": {
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"value": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1alpha1ConnectionState": {
|
|
"type": "object",
|
|
"title": "ConnectionState contains information about remote resource connection state",
|
|
"properties": {
|
|
"attemptedAt": {
|
|
"$ref": "#/definitions/v1Time"
|
|
},
|
|
"message": {
|
|
"type": "string"
|
|
},
|
|
"status": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"v1alpha1Repository": {
|
|
"type": "object",
|
|
"title": "Repository is a Git repository holding application configurations",
|
|
"properties": {
|
|
"connectionState": {
|
|
"$ref": "#/definitions/v1alpha1ConnectionState"
|
|
},
|
|
"password": {
|
|
"type": "string"
|
|
},
|
|
"repo": {
|
|
"type": "string"
|
|
},
|
|
"sshPrivateKey": {
|
|
"type": "string"
|
|
},
|
|
"username": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|