Skip to content

Instantly share code, notes, and snippets.

@colinhunt
Created December 11, 2024 16:59
Show Gist options
  • Save colinhunt/2e6c37cea1bc934beb174c1fff8214d7 to your computer and use it in GitHub Desktop.
Save colinhunt/2e6c37cea1bc934beb174c1fff8214d7 to your computer and use it in GitHub Desktop.
openapi: 3.0.1
info:
title: Minimal Reproducer for Routing Bug
version: 1.0.0
paths:
/users/{userId}/profile:
get:
tags:
- userAttributes
operationId: getUserProfile
summary: Get a user profile
parameters:
- name: userId
in: path
schema:
type: string
required: true
responses:
'200':
description: Success
/users/{userId}/problems:
get:
tags:
- userAttributes
operationId: listUserProblems
summary: List all user problems
parameters:
- name: userId
in: path
schema:
type: string
required: true
responses:
'200':
description: Success
/users/{userEmail}:
post:
tags:
- users
operationId: createUserByEmail
summary: Create user by Email
parameters:
- name: userEmail
in: path
schema:
type: string
required: true
responses:
'200':
description: Success
/users/{username}:
post:
tags:
- users
operationId: createUserByUsername
summary: Create user by username
parameters:
- name: username
in: path
schema:
type: string
required: true
responses:
'200':
description: Success
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment