-
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.
feat: starting out with v1 API OpenAPI (#492)
- Loading branch information
Showing
279 changed files
with
3,288 additions
and
586 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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,37 @@ | ||
syntax = "proto3"; | ||
|
||
package annonars.common.versions; | ||
|
||
// Source that data was created from. | ||
message CreatedFrom { | ||
// The name of the data source. | ||
string name = 1; | ||
// The version of the data source. | ||
string version = 2; | ||
} | ||
|
||
// Version specification. | ||
message VersionSpec { | ||
// Identifier of the data. | ||
string identifier = 1; | ||
// Title of the data. | ||
string title = 2; | ||
// Creator of the data. | ||
string creator = 3; | ||
// Contributors of the data. | ||
repeated string contributor = 4; | ||
// Format of the data. | ||
string format = 5; | ||
// Date of the data. | ||
string date = 6; | ||
// Version of the data. | ||
string version = 7; | ||
// Optional genome release. | ||
optional string genome_release = 8; | ||
// Data description. | ||
string description = 9; | ||
// Data source. | ||
repeated string source = 10; | ||
// Created from information. | ||
repeated CreatedFrom created_from = 11; | ||
} |
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
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,10 @@ | ||
//! Code generate for protobufs by `prost-build`. | ||
/// Information about versions. | ||
pub mod versions { | ||
include!(concat!(env!("OUT_DIR"), "/annonars.common.versions.rs")); | ||
include!(concat!( | ||
env!("OUT_DIR"), | ||
"/annonars.common.versions.serde.rs" | ||
)); | ||
} |
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,12 @@ | ||
# EditorConfig is awesome: https://EditorConfig.org | ||
|
||
# top-most EditorConfig file | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 4 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = false | ||
insert_final_newline = false |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.