openapi: 3.1.0
info:
title: Server Path Prefix Test
description: Test fixture for server URL path prefix stripping in operation paths.
version: 1.0.0
servers:
- url: https://api.example.com/v2
description: Production server
paths:
/v2/users:
get:
summary: List users
operationId: list_users
responses:
'200':
description: OK
/v2/users/{user_id}:
get:
summary: Get user
operationId: get_user
parameters:
- name: user_id
in: path
required: true
schema:
type: string
responses:
'200':
description: OK
/health:
get:
summary: Health check
operationId: health_check
responses:
'200':
description: OK