Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.
34 matches across 5 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …st/unit/core/plugins/json-schema-2020-12-samples/fn.js | 21 | "user@example.com" |
| LOW | …st/unit/core/plugins/json-schema-2020-12-samples/fn.js | 233 | ).toStrictEqual('{"name": "John Doe"}') |
| LOW | …ress/static/documents/bugs/7996-tags-externalDocs.yaml | 7 | description: "Foo: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore |
| LOW | …ress/static/documents/bugs/7996-tags-externalDocs.yaml | 7 | description: "Foo: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore |
| LOW | …ress/static/documents/bugs/7996-tags-externalDocs.yaml | 13 | description: "Bar: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore |
| LOW | …ress/static/documents/bugs/7996-tags-externalDocs.yaml | 13 | description: "Bar: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore |
| LOW | …ins/json-schema-2020-12-samples/fn/generators/email.js | 4 | const emailGenerator = () => "user@example.com" |
| LOW | …20-12-samples/fn/generators/media-types/application.js | 9 | "application/ld+json": () => '{"name": "John Doe"}', |
| LOW | src/core/plugins/json-schema-5-samples/fn/index.js | 30 | "string_email": () => "user@example.com", |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/unit/core/plugins/spec/selectors.js | 341 | |
| LOW | test/e2e-cypress/support/commands.js | 1 | // *********************************************** |
| LOW | test/e2e-cypress/support/commands.js | 21 | // Cypress.Commands.add("dismiss", { prevSubject: 'optional'}, (subject, options) => { ... }) |
| LOW | test/e2e-cypress/support/e2e.js | 1 | // *********************************************************** |
| LOW | .claude/skills/add-oas-support.md | 1241 | function afterLoad({ fn, getSystem }) { |
| LOW | .github/workflows/codeql.yml | 1 | # For most projects, this workflow file will not need changing; you simply need |
| LOW | src/core/system.js | 501 | |
| LOW | src/core/plugins/json-schema-5-samples/fn/index.js | 221 | type = "object" |
| LOW | src/core/components/initialized-input.jsx | 1 | // This component provides an interface that feels like an uncontrolled input |
| LOW | src/style/_dark-mode.scss | 41 | #6a6a6a, |
| LOW | src/style/_dark-mode.scss | 61 | patch: ( |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/e2e-cypress/support/helpers/multiple-examples.js | 7 | function ParameterPrimitiveTestCases({ |
| LOW | test/e2e-cypress/support/helpers/multiple-examples.js | 166 | function RequestBodyPrimitiveTestCases({ |
| LOW | test/e2e-cypress/support/helpers/multiple-examples.js | 581 | function ResponsePrimitiveTestCases({ |
| LOW | test/e2e-cypress/e2e/features/deep-linking.cy.js | 193 | function OperationDeeplinkTestFactory({ baseUrl, elementToGet, correctElementId, correctFragment, correctHref }) { |
| LOW | src/core/system.js | 16 | function createStoreWithMiddleware(rootReducer, initialState, getSystem) { |
| LOW | …err/error-transformers/transformers/parameter-oneof.js | 30 | function createTailoredParameterError(err, jsSpec) { |
| LOW | src/core/plugins/oas3/selectors.js | 27 | function validateRequestBodyIsRequired(selector) { |
| LOW | src/core/utils/index.js | 238 | export function extractFileNameFromContentDispositionHeader(value){ |
| LOW | src/core/utils/index.js | 677 | export function getAcceptControllingResponse(responses) { |
| LOW | src/core/utils/jsonParse.js | 11 | export function getKnownSyntaxHighlighterLanguage(val) { |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | test/unit/core/plugins/spec/assets/petstore.json | 4 | "description": "This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](h |
| MEDIUM | …st/e2e-cypress/static/documents/bugs/5043/swagger.yaml | 3 | description: "This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io] |
| MEDIUM | test/e2e-selenium/static/test-specs/petstore.json | 4 | "description":"This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | flavors/swagger-ui-react/release/run.sh | 21 | # Create a releasable package manifest |