forked from argoproj/argo-cd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request argoproj#3 from JazminGonzalez-Rivero/add-swagger
Add ref cleanup for swagger combined
- Loading branch information
Showing
5 changed files
with
4,244 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,136 @@ | ||
{ | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,136 @@ | ||
{ | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.