Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Index.html missing from molten.openapi.templates in 1.0.0 #37

Closed
androiddrew opened this issue Feb 15, 2020 · 1 comment
Closed

Index.html missing from molten.openapi.templates in 1.0.0 #37

androiddrew opened this issue Feb 15, 2020 · 1 comment

Comments

@androiddrew
Copy link

What OS are you using?

Mac OS 10.15.3

What version of molten are you using?

Molten==1.0.0

What did you do?

Attempted to use OpenAPIHandler and received a FileNotFoundError for template/index.html

What did you expect would happen?

OpenAPIHandler to serve a Swagger page.

What happened?

Looks like the index.html is not present in the 1.0.0 Wheel.

androiddrew@MacBook-Pro tmp % unzip -l molten-1.0.0-py3-none-any.whl | grep openapi
     1116  02-06-2020 09:58   molten/openapi/__init__.py
    17344  02-06-2020 09:58   molten/openapi/documents.py
     3501  02-06-2020 09:58   molten/openapi/handlers.py
        0  02-06-2020 09:58   molten/openapi/templates/__init__.py

0.7.4

androiddrew@MacBook-Pro tmp % unzip -l molten-0.7.4-py3-none-any.whl | grep openapi 
     1116  10-06-2018 12:53   molten/openapi/__init__.py
    17344  01-25-2019 16:04   molten/openapi/documents.py
     3501  10-06-2018 12:53   molten/openapi/handlers.py
        0  10-06-2018 12:53   molten/openapi/templates/__init__.py
     1387  10-14-2018 06:03   molten/openapi/templates/index.html
@androiddrew androiddrew changed the title Index.html missing from molten.openapi.templates in 1.0 Index.html missing from molten.openapi.templates in 1.0. Feb 15, 2020
@androiddrew androiddrew changed the title Index.html missing from molten.openapi.templates in 1.0. Index.html missing from molten.openapi.templates in 1.0.0 Feb 15, 2020
@Bogdanp
Copy link
Owner

Bogdanp commented Feb 15, 2020

I knew I was tempting fate making a release. This is now fixed! Thanks!

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants