Skip to content

Commit

Permalink
update error type name
Browse files Browse the repository at this point in the history
Created using spr 1.3.6-beta.1
  • Loading branch information
sunshowers committed Jul 11, 2024
1 parent ac17ac7 commit 1110398
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev-tools/openapi-manager/src/spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use std::{fmt, io::Write};
use anyhow::{Context, Result};
use atomicwrites::AtomicFile;
use camino::{Utf8Path, Utf8PathBuf};
use dropshot::{ApiDescription, ApiDescriptionBuildError, StubContext};
use dropshot::{ApiDescription, ApiDescriptionBuildErrors, StubContext};
use fs_err as fs;
use openapiv3::OpenAPI;

Expand Down Expand Up @@ -44,7 +44,7 @@ pub struct ApiSpec {
/// The API description function, typically a reference to
/// `stub_api_description`.
pub api_description:
fn() -> Result<ApiDescription<StubContext>, ApiDescriptionBuildError>,
fn() -> Result<ApiDescription<StubContext>, ApiDescriptionBuildErrors>,

/// The JSON filename to write the API description to.
pub filename: String,
Expand Down

0 comments on commit 1110398

Please sign in to comment.