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

Commit

Permalink
fix server url
Browse files Browse the repository at this point in the history
  • Loading branch information
gquadrati committed Jun 22, 2023
1 parent 49045ce commit 9bc1d0f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
7 changes: 3 additions & 4 deletions openapi/external.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ info:
title: IO Lollipop Function Lollipop Consumer API
x-logo:
url: https://io.italia.it/assets/img/io-logo-blue.svg
description: >
Documentation of the IO Lollipop Function API exposed to Lollipop
Consumerhere.
description: |
Documentation of the IO Lollipop Function API exposed to Lollipop Consumer.
servers:
- url: https://api.pagopa.it/lollipop/api/v1
- url: https://api.io.pagopa.it/lollipop/api/v1
security:
- ApiKeyAuth: []
paths:
Expand Down
17 changes: 8 additions & 9 deletions openapi/external.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ info:
x-logo:
url: https://io.italia.it/assets/img/io-logo-blue.svg
description: |
Documentation of the IO Lollipop Function API exposed to Lollipop Consumerhere.
servers:
- url: https://api.pagopa.it/lollipop/api/v1
Documentation of the IO Lollipop Function API exposed to Lollipop Consumer.
servers:
- url: https://api.io.pagopa.it/lollipop/api/v1
security:
- ApiKeyAuth: []
paths:
Expand All @@ -19,7 +19,7 @@ paths:
- name: assertion_ref
required: true
in: path
schema:
schema:
$ref: "#/components/schemas/AssertionRef"
- name: x-pagopa-lollipop-auth
required: true
Expand Down Expand Up @@ -78,7 +78,7 @@ components:
$ref: "../node_modules/@pagopa/io-functions-commons/openapi/lollipop_definitions.yaml#/components/schemas/AssertionRefSha512"
AssertionRef:
$ref: "../node_modules/@pagopa/io-functions-commons/openapi/lollipop_definitions.yaml#/components/schemas/AssertionRef"

LollipopAuthBearer:
type: string
pattern: "^Bearer [a-zA-Z0-9-_].+"
Expand All @@ -88,7 +88,7 @@ components:
SamlUserInfo:
type: object
properties:
response_xml:
response_xml:
type: string
description: A string representation of a signed SPID/CIE response
minLength: 1
Expand All @@ -103,16 +103,15 @@ components:
OidcUserInfo:
type: object
properties:
id_token:
id_token:
$ref: "#/components/schemas/OidcSignedJwt"
claims_token:
$ref: "#/components/schemas/OidcSignedJwt"
required:
- id_token
- claims_token

LCUserInfo:
oneOf:
- $ref: "#/components/schemas/SamlUserInfo"
- $ref: "#/components/schemas/OidcUserInfo"

0 comments on commit 9bc1d0f

Please sign in to comment.