paperclip_core/v3/models/
external_documentation.rs

1
2
3
4
5
6
7
8
9
10
11
use super::v2;

impl From<v2::ExternalDocs> for openapiv3::ExternalDocumentation {
    fn from(v2: v2::ExternalDocs) -> Self {
        openapiv3::ExternalDocumentation {
            description: v2.description,
            url: v2.url,
            extensions: Self::default().extensions,
        }
    }
}