Skip to content

Commit 4c40f4a

Browse files
committed
Add name to info.contact in openapi
1 parent eff2402 commit 4c40f4a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

spotify-web-api-generator-open-api/spotify-web-api-openapi.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ openapi: 3.0.1
22
info:
33
title: Spotify Web API
44
contact:
5+
name: sonallux
56
url: https://github.com/sonallux/spotify-web-api
67
version: 2021.4.2
78
externalDocs:

spotify-web-api-generator-open-api/src/main/java/de/sonallux/spotify/generator/openapi/OpenApiGenerator.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public OpenAPI generate(SpotifyWebApi apiDocumentation) {
4444
.title("Spotify Web API")
4545
.version(VersionProvider.getVersion())
4646
.contact(new Contact()
47+
.name("sonallux")
4748
.url("https://github.com/sonallux/spotify-web-api")
4849
)
4950
)

0 commit comments

Comments
 (0)