Skip to content

feat: Mark get api metadata as get method#1609

Open
FallenDeity wants to merge 1 commit into
PokeAPI:masterfrom
FallenDeity:metadata-api-schema
Open

feat: Mark get api metadata as get method#1609
FallenDeity wants to merge 1 commit into
PokeAPI:masterfrom
FallenDeity:metadata-api-schema

Conversation

@FallenDeity

@FallenDeity FallenDeity commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Change description

Previously api metadata openapi schema defined it as a list which is misleading, redefined the schema to return an object since thats whats actually returned by the api (list -> get)

image
      responses:
        '200':
          content:
            application/json:
              schema:
-              type: array
+              type: object

AI coding assistance disclosure

None

Contributor check list

  • I have written a description of the contribution and explained its motivation.
  • I have written tests for my code changes (if applicable).
  • I have read and understood the AI Assisted Contribution guidelines.
  • I will own this change in production, and I am prepared to fix any bugs caused by my code change.

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.

1 participant