Skip to content

[Question]: Recent need for API key undocumented in this repo #12589

Closed

Description

@dls314

Question

The docs in this repo https://github.com/swagger-api/swagger-codegen/blob/master/docs/online-generators.md don't mention that this functionality seems to be blocked behind the need for an API key on swagger.io starting recently (I'm unsure if auth is required or if the API was impaired)

Is this expected?
Are there new docs?

Checklist

  • I have searched the existing issues and documentation.
  • I have provided enough context for maintainers to understand the question.
  • This is not a feature request or bug report.

Activity

  1. changed the title [-][Question]:[/-] [+][Question]: Recent need for API key undocumented in this repo[/+] on Jul 23, 2025
  2. daniel-kmiecik commented on Nov 17, 2025

    @daniel-kmiecik
    Contributor

    Hi @dls314!. Thanks for the question. The root cause of the 500 error was that each fileId is valid only once, so subsequent requests tried to access a file that had already been deleted. Because the code attempted to read the file before checking whether it still existed, it triggered an exception instead of returning the intended 404. The prepared fix #12651 adds a proper null/filename check, removes file from map and returns 404 when the file has already been consumed, ensuring the response now matches the documented behavior. The fix will be included in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions