Skip to content

Commit

Permalink
Create ERD diagram and Update OpenAPI spec
Browse files Browse the repository at this point in the history
  • Loading branch information
nava-platform-bot committed Dec 24, 2024
1 parent 0fb5042 commit 73709b1
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions api/openapi.generated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,43 @@ paths:
'
security:
- ApiKeyAuth: []
/v1/users/{user_id}/saved-opportunities/{opportunity_id}:
delete:
parameters:
- in: path
name: user_id
schema:
type: string
required: true
- in: path
name: opportunity_id
schema:
type: integer
required: true
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/UserDeleteSavedOpportunityResponse'
description: Successful response
'401':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
description: Authentication error
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
description: Not found
tags:
- User v1
summary: User Delete Saved Opportunity
security:
- ApiJwtAuth: []
openapi: 3.1.0
components:
schemas:
Expand Down Expand Up @@ -1963,6 +2000,19 @@ components:
type: integer
description: The HTTP status code
example: 200
UserDeleteSavedOpportunityResponse:
type: object
properties:
message:
type: string
description: The message to return
example: Success
data:
example: null
status_code:
type: integer
description: The HTTP status code
example: 200
securitySchemes:
ApiKeyAuth:
type: apiKey
Expand Down

0 comments on commit 73709b1

Please sign in to comment.