Skip to content
This repository has been archived by the owner on Jan 15, 2025. It is now read-only.

Commit

Permalink
refactored paths
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldisaro committed Jan 10, 2022
1 parent 0a756b5 commit 635bfe5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions openapi/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ info:
description: >
Documentation of the IO Function API here.
host: api.cd.italia.it
basePath: "/api/v1"
basePath: "/api/v1/cgn"
schemes:
- https
security:
- ApiKey: []
paths:
"/cgn/status/{fiscalcode}":
"/status/{fiscalcode}":
get:
summary: Get CGN details Status
operationId: getCgnStatus
Expand Down Expand Up @@ -85,7 +85,7 @@ paths:
schema:
$ref: "#/definitions/ProblemJson"

"/cgn/eyca/status/{fiscalcode}":
"/eyca/status/{fiscalcode}":
get:
summary: Get EYCA details Status
operationId: getEycaStatus
Expand Down Expand Up @@ -116,7 +116,7 @@ paths:
schema:
$ref: "#/definitions/ProblemJson"

"/cgn/{fiscalcode}/eyca/activation":
"/{fiscalcode}/eyca/activation":
post:
operationId: startEycaActivation
summary: |
Expand Down Expand Up @@ -173,7 +173,7 @@ paths:
schema:
$ref: "#/definitions/ProblemJson"

"/cgn/{fiscalcode}/activation":
"/{fiscalcode}/activation":
post:
operationId: startCgnActivation
summary: |
Expand Down Expand Up @@ -230,7 +230,7 @@ paths:
schema:
$ref: "#/definitions/ProblemJson"

"/cgn/otp/{fiscalcode}":
"/otp/{fiscalcode}":
post:
operationId: generateOtp
summary: |
Expand Down

0 comments on commit 635bfe5

Please sign in to comment.