INNER CODE UNIT · TypeScript

invalidCharacters

Escape-Technologies/graphman · src/format.ts:113

  const invalidCharacters = /[^a-zA-Z0-9-_.]/g;
  // replace invalid characters with underscore
  name.replace(invalidCharacters, "_");

  const collection: PostmanCollection = {
    info: {
      name,
      schema:
        "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    },
    item,
  };

  if (authHeader) {
    collection.auth = {
      type: "apikey",
      apikey: [
        { key: "in", value: "header", type: "string" },

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…