Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#IP-210] Add 403 to API specs where missing #125

Merged
merged 1 commit into from
May 26, 2021

Conversation

balanza
Copy link
Contributor

@balanza balanza commented May 26, 2021

Several APIs are exposed without explicitly declaring a 403 can happen, although they actually do. Mostly, this status can happen when the DevPortal user doesn't belong to the group allowed for such operaration.

Operations are:

  • submitMessageforUserWithFiscalCodeInBody
  • submitMessageforUser
  • getMessage
  • getProfileByPOST
  • getProfile
  • getSubscriptionsFeedForDate
  • createService
  • getUserServices

@pagopa-github-bot
Copy link
Contributor

Warnings
⚠️

Please include a Pivotal story at the beginning of the PR title (see below).

Example of PR titles that include pivotal stories:

  • single story: [#123456] my PR title
  • multiple stories: [#123456,#123457,#123458] my PR title

Generated by 🚫 dangerJS

Copy link
Contributor

@BurnedMarshal BurnedMarshal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@balanza balanza merged commit 1014339 into master May 26, 2021
@balanza balanza deleted the ip-210--add-403-to-openapi-spec branch May 26, 2021 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants