fix: correct git_describe in /health (#383)
* fix: add missing Version component in OpenAPI definition * fix: allow tag / dirty in git describerelease-0.0 v0.0.1-rc.3
parent
41046f8324
commit
c44a9c7195
|
|
@ -4,6 +4,10 @@ use vergen::EmitBuilder;
|
|||
|
||||
fn main() -> Result<(), Box<dyn Error>> {
|
||||
// touch
|
||||
EmitBuilder::builder().all_build().all_git().emit()?;
|
||||
EmitBuilder::builder()
|
||||
.all_build()
|
||||
.all_git()
|
||||
.git_describe(true, true, None)
|
||||
.emit()?;
|
||||
Ok(())
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@ OpenAPI documentation for [tabby](https://github.com/TabbyML/tabby), a self-host
|
|||
completions::Segments,
|
||||
completions::Choice,
|
||||
health::HealthState,
|
||||
health::Version,
|
||||
))
|
||||
)]
|
||||
struct ApiDoc;
|
||||
|
|
|
|||
Loading…
Reference in New Issue