Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Json reference #21

Merged
merged 23 commits into from
Dec 14, 2014
Merged

Json reference #21

merged 23 commits into from
Dec 14, 2014

Commits on Dec 2, 2014

  1. add path2url

    mission-liao committed Dec 2, 2014
    Configuration menu
    Copy the full SHA
    ea87ac8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    11657a2 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2014

  1. Configuration menu
    Copy the full SHA
    e47d103 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2014

  1. Configuration menu
    Copy the full SHA
    d25c45c View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2014

  1. Configuration menu
    Copy the full SHA
    0cfbca0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b8466fa View commit details
    Browse the repository at this point in the history
  3. deref of cascade $ref

    mission-liao committed Dec 9, 2014
    Configuration menu
    Copy the full SHA
    5c6ec2f View commit details
    Browse the repository at this point in the history
  4. more test conditions

    mission-liao committed Dec 9, 2014
    Configuration menu
    Copy the full SHA
    208b0b0 View commit details
    Browse the repository at this point in the history
  5. prepend / for shortcut

    mission-liao committed Dec 9, 2014
    Configuration menu
    Copy the full SHA
    668526a View commit details
    Browse the repository at this point in the history
  6. remove tailing space

    mission-liao committed Dec 9, 2014
    Configuration menu
    Copy the full SHA
    81940de View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2014

  1. DFS circle detection

    mission-liao committed Dec 10, 2014
    Configuration menu
    Copy the full SHA
    b909c34 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2014

  1. fix cycle detection

    mission-liao committed Dec 11, 2014
    Configuration menu
    Copy the full SHA
    2cf6fb3 View commit details
    Browse the repository at this point in the history
  2. cycle detection in SwaggerApp.prepare

    - when upgrade from 1.2, now skip basePath part, everything after host
    would be used as path.
    mission-liao committed Dec 11, 2014
    Configuration menu
    Copy the full SHA
    a7669cb View commit details
    Browse the repository at this point in the history
  3. refine code

    remove SwaggerApp.__root_url
    replace SwaggerApp.__url2obj with SwaggerApp.__url2app
    remove SwaggerApp._prepare_url, instead, all input url would be refined
    by utils.normalize_url
    mission-liao committed Dec 11, 2014
    Configuration menu
    Copy the full SHA
    aa72608 View commit details
    Browse the repository at this point in the history
  4. jr_split

    decompose json-reference into (normalized-url, json-pointer)
    mission-liao committed Dec 11, 2014
    Configuration menu
    Copy the full SHA
    ba330ad View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2014

  1. many refinement

    - add SwaggerApp.__app_cache to union multiple SwaggerApp with url
    - add SwaggerApp.__url_load_hook to patch url to load json.
    - 'getter' parameter in SwaggerApp.create is removed, if needy, call
    SwaggerApp.load instead.
    mission-liao committed Dec 13, 2014
    Configuration menu
    Copy the full SHA
    d7e84cf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ba2d4d5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9ce8823 View commit details
    Browse the repository at this point in the history
  4. complete external document

    - all $ref are normalized to full JSON referenceall $ref are normalized
    to full JSON reference
    - separate scanners: Resolve, PatchObject into 2 runs to make sure the
    order is expected.
    mission-liao committed Dec 13, 2014
    Configuration menu
    Copy the full SHA
    a6cf322 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2014

  1. refine

    - return ('', '#') when input == '#' for jr_split
    - refine get_swagger_version for partial swagger json
    mission-liao committed Dec 14, 2014
    Configuration menu
    Copy the full SHA
    98f4319 View commit details
    Browse the repository at this point in the history
  2. add __swagger_version__ in pyswagger.base.BaseObj

    to recognize version of swagger for partial swagger.json
    mission-liao committed Dec 14, 2014
    Configuration menu
    Copy the full SHA
    1e884d1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1ab2392 View commit details
    Browse the repository at this point in the history
  4. external document with partial swagger.json

    swagger.json with PathItem and Schema is allowed.
    mission-liao committed Dec 14, 2014
    Configuration menu
    Copy the full SHA
    802fd21 View commit details
    Browse the repository at this point in the history