Skip to content

Commit 0a240a3

Browse files
committed
fix: update endpoint URLs
1 parent 32be8e7 commit 0a240a3

File tree

2 files changed

+29
-28
lines changed

2 files changed

+29
-28
lines changed

angular-hub/src/app/components/navigation/navigation.component.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
<li>
5757
<a
5858
class="flex gap-4 items-center px-4 py-3 rounded-xl font-bold"
59-
href="https://angular-hub.com/api/v1/swagger"
59+
href="/api/v1/swagger"
6060
target="_blank"
6161
>
6262
<svg

angular-hub/src/public/assets/swagger/openapi.yml

+28-27
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ info:
88
url: https://angular-hub.com
99
tags:
1010
- name: Communities
11+
- name: Events
1112
- name: Podcasts
1213
servers:
1314
- url: https://angular-hub.com/api/v1
@@ -70,11 +71,11 @@ paths:
7071
type: string
7172
url:
7273
type: string
73-
/communities/upcoming:
74+
/events/upcoming:
7475
get:
7576
summary: Get a list of upcoming Angular events
7677
tags:
77-
- Communities
78+
- Events
7879
responses:
7980
'200':
8081
description: A list of upcoming Angular events
@@ -107,34 +108,11 @@ paths:
107108
type: string
108109
url:
109110
type: string
110-
/podcasts:
111-
get:
112-
summary: Get a list of Angular podcasts
113-
tags:
114-
- Podcasts
115-
responses:
116-
'200':
117-
description: A list of Angular podcasts
118-
content:
119-
application/json:
120-
schema:
121-
type: array
122-
items:
123-
type: object
124-
properties:
125-
name:
126-
type: string
127-
url:
128-
type: string
129-
logo:
130-
type: string
131-
language:
132-
type: string
133-
/callforpapers:
111+
/events/callforpapers:
134112
get:
135113
summary: Get a list of Angular communities with open call for papers
136114
tags:
137-
- Communities
115+
- Events
138116
parameters:
139117
- name: type
140118
in: query
@@ -195,3 +173,26 @@ paths:
195173
type: string
196174
url:
197175
type: string
176+
/podcasts:
177+
get:
178+
summary: Get a list of Angular podcasts
179+
tags:
180+
- Podcasts
181+
responses:
182+
'200':
183+
description: A list of Angular podcasts
184+
content:
185+
application/json:
186+
schema:
187+
type: array
188+
items:
189+
type: object
190+
properties:
191+
name:
192+
type: string
193+
url:
194+
type: string
195+
logo:
196+
type: string
197+
language:
198+
type: string

0 commit comments

Comments
 (0)