Skip to content

Commit

Permalink
Glob-reexport all generated models in Rust
Browse files Browse the repository at this point in the history
This should prevent forgetting to do the public reexport of types.
  • Loading branch information
svix-andor committed Feb 6, 2023
1 parent ca61930 commit 65f82d8
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions rust/src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,7 @@ use crate::apis::{
message_api, message_attempt_api,
};
use crate::error::Result;
pub use crate::models::{
AppPortalAccessIn, AppPortalAccessOut, ApplicationIn, ApplicationOut, DashboardAccessOut,
EndpointHeadersIn, EndpointHeadersOut, EndpointHeadersPatchIn, EndpointIn, EndpointOut,
EndpointSecretOut, EndpointSecretRotateIn, EndpointStats, EndpointTransformationIn,
EndpointTransformationOut, EndpointUpdate, EventTypeIn, EventTypeOut, EventTypeUpdate,
IntegrationIn, IntegrationKeyOut, IntegrationOut, IntegrationUpdate,
ListResponseApplicationOut, ListResponseEndpointMessageOut, ListResponseEndpointOut,
ListResponseEventTypeOut, ListResponseIntegrationOut, ListResponseMessageAttemptEndpointOut,
ListResponseMessageAttemptOut, ListResponseMessageEndpointOut, ListResponseMessageOut,
MessageAttemptOut, MessageIn, MessageOut, MessageStatus, RecoverIn, ReplayIn, StatusCodeClass,
};
pub use crate::models::*;

const CRATE_VERSION: &str = env!("CARGO_PKG_VERSION");

Expand Down

0 comments on commit 65f82d8

Please sign in to comment.