Skip to content

Commit

Permalink
Add license info to openapi and swagger file
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdbosch committed Mar 21, 2023
2 parents 67144c4 + 404e57c commit 0cbc4aa
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/openapi/location/v1/location-v1.yaml
Expand Up @@ -2,6 +2,9 @@ openapi: 3.0.0
info:
title: types related to location
version: ${project.version}
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
servers: []
paths: {}
components:
Expand Down
3 changes: 3 additions & 0 deletions src/main/openapi/location/v1beta/location-v1beta.yaml
Expand Up @@ -2,6 +2,9 @@ openapi: 3.0.0
info:
title: types related to location
version: ${project.version}-beta
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
servers: []
paths: {}
components:
Expand Down
3 changes: 3 additions & 0 deletions src/main/swagger/location/v1/location-v1.yaml
Expand Up @@ -2,6 +2,9 @@ swagger: "2.0"
info:
title: types related to location
version: ${project.version}
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
paths: {}
definitions:
CountryNisCode:
Expand Down
3 changes: 3 additions & 0 deletions src/main/swagger/location/v1beta/location-v1beta.yaml
Expand Up @@ -2,6 +2,9 @@ swagger: "2.0"
info:
title: types related to location
version: ${project.version}-beta
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
#=> to debate: do we define CountryIso3166Alpha2Code? or NationalityIsoCode?
paths: {}
definitions: {}
Expand Down

0 comments on commit 0cbc4aa

Please sign in to comment.