specification icon indicating copy to clipboard operation
specification copied to clipboard

Try to remove duplicate type name 'Platform' and 'Tag'

Open McHauge opened this issue 5 months ago • 1 comments

Try to remove duplicate type names for 'Platform' and 'Tag' based on my findings using the full file available here: https://vrchat.community/openapi.yaml

Not entirely sure how this file gets assembled, soI have tried to do it as close to what I saw used in other places in the duplicate files

Closes https://github.com/vrchatapi/specification/issues/482

McHauge avatar Jul 23 '25 17:07 McHauge

I have since I made this one also found a couple of missing type definitions. Where the names have been left out, and not being defined in the schema, only local in the one message with out a name for the overall type.

is that something I should add here or would that work better in a separate ticket/pr?

Thsese 3 Schema definitions seems to be missing (and then they will need referencing to their messages):

    PlatformHistory:
      title: PlatformHistory
      description: Platform History
      type: object
      properties:
        isMobile:
          type: boolean
        platform:
          type: string
        recorded:
          type: string
          format: date-time

    PublishedListing:
      title: PublishedListing
      description: Published Listing
      type: object
      properties:
        description:
          type: string
        displayName:
          type: string
        imageId:
          type: string
        listingId:
          type: string
        listingType:
          type: string
        priceTokens:
          type: integer

    Otp:
      title: Otp
      description: Otp
      type: object
      required:
        - code
        - used
      properties:
        code:
          type: string
        used:
          type: boolean

McHauge avatar Jul 24 '25 01:07 McHauge

@Rexios80 Can you double check this for me before I approve?

ariesclark avatar Nov 23 '25 05:11 ariesclark