Skip to content
This repository was archived by the owner on Mar 18, 2019. It is now read-only.
This repository was archived by the owner on Mar 18, 2019. It is now read-only.

Version is hardcoded to empty string #40

Open

Description

@tovmeod

file encode.py it fills the versions like this:

swagger['info']['version'] = ''

it should be able to get the version info properly. I ended up writing my own decoder just to fill the version

Activity

  1. lovelydinosaur commented on Jun 16, 2017

    @lovelydinosaur
    Contributor

    The Core API document doesn't currently have version metadata, so not something we can address immediately.

  2. tovmeod commented on Jun 19, 2017

    @tovmeod
    Author

    Until they do this could be pulled from settings, and from OpenAPIRenderer attribute, if I wish to set the version I could either use settings or subclass OpenAPIRenderer, since I am already sublassing to implement get_customizations().

    Also basepath could be set in the same way

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