Revize 13319989
Přidáno uživatelem Václav Honzík před více než 2 roky(ů)
frontend/src/components/StubComponent.tsx | ||
---|---|---|
7 | 7 |
|
8 | 8 |
const [text, setText] = useState<string>('') |
9 | 9 |
|
10 |
// Sends api request to the backend
|
|
10 |
// Sends swagger request to the backend
|
|
11 | 11 |
const fetchStub = async () => { |
12 | 12 |
try { |
13 | 13 |
const { data } = await AxiosClient.get('/stub') |
Také k dispozici: Unified diff
automatic class generation from swagger endpoint re #9196