git.iko.soy/typeable/openapi3
on master help sign in
Change URL to Url in field names
375e8b9Nickolay Kudasov
src/Data/Swagger/Internal.hs+3−3
@@ -102,7 +102,7 @@ data SwaggerContact = SwaggerContact
102 swaggerContactName :: Maybe Text
102 swaggerContactName :: Maybe Text
103
103
104 -- | The URL pointing to the contact information.
104 -- | The URL pointing to the contact information.
105− , swaggerContactURL :: Maybe URL
105+ , swaggerContactUrl :: Maybe URL
106
106
107 -- | The email address of the contact person/organization.
107 -- | The email address of the contact person/organization.
108 , swaggerContactEmail :: Maybe Text
108 , swaggerContactEmail :: Maybe Text
@@ -114,7 +114,7 @@ data SwaggerLicense = SwaggerLicense
114 swaggerLicenseName :: Text
114 swaggerLicenseName :: Text
115
115
116 -- | A URL to the license used for the API.
116 -- | A URL to the license used for the API.
117− , swaggerLicenseURL :: Maybe URL
117+ , swaggerLicenseUrl :: Maybe URL
118 } deriving (Show)
118 } deriving (Show)
119
119
120-- | The host (name or ip) serving the API. It MAY include a port.
120-- | The host (name or ip) serving the API. It MAY include a port.
@@ -619,6 +619,6 @@ data SwaggerExternalDocs = SwaggerExternalDocs
619 swaggerExternalDocsDescription :: Maybe Text
619 swaggerExternalDocsDescription :: Maybe Text
620
620
621 -- | The URL for the target documentation.
621 -- | The URL for the target documentation.
622− , swaggerExternalDocsURL :: URL
622+ , swaggerExternalDocsUrl :: URL
623 } deriving (Show)
623 } deriving (Show)
624
624